yarnpkg/yarn

yarn global add . fails

Open

#3,256 创建于 2017年4月26日

在 GitHub 查看
 (11 评论) (14 反应) (0 负责人)JavaScript (41,514 star) (2,731 fork)batch import
cat-compatibilitygood first issuehelp wantedtriaged

描述

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

贡献者指南