yarnpkg/yarn

yarn global add . fails

Open

#3256 opened on Apr 26, 2017

View on GitHub
 (11 comments) (14 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-compatibilitygood first issuehelp wantedtriaged

Description

What is the current behavior? Running yarn global add . in the directory of a local module results in:

[1/4] Resolving packages...
error Received malformed response from registry for undefined. The registry may be down.

What is the expected behavior? This may or may not be a question/feature request, but I'm intending to perform the equivalent to

npm install -g .

whereby the local module would be installed from the local code base to exist as a globally installed module. Is this currently possible?

Please mention your node.js, yarn and operating system version. Yarn: 0.23.2 Node: 6.10.2 OS: elementary OS Loki

Contributor guide