yarn 安装包问题 --> yarn安装不了
之前看了一些人说facebook的新工具很好,特地尝试,在尝试yarn 命令 不幸报错。
yarn add v0.15.1
info No lockfile found.
error TypeError: test@1.0.0: Name contains illegal characters
at exports.default (C:\Program Files (x86)\Yarn\lib\util\normalize-manifest\validate.js:39:13)
at C:\Program Files (x86)\Yarn\lib\util\normalize-manifest\index.js:50:30
at next (native)
at step (C:\Program Files (x86)\Yarn\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
at C:\Program Files (x86)\Yarn\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:20
info Visit http://yarnpkg.com/en/docs/cli/add for documentation about this command.
1 回复
Name contains illegal characters
, 名称不合法, 是你自己写的包吗?