美文网首页
npm无法安装一些包时的解决办法

npm无法安装一些包时的解决办法

作者: 西柚科技 | 来源:发表于2019-11-12 21:12 被阅读0次

加 --unsafe-perm
比如:

npm install --unsafe-perm -g composer-cli@0.20

https://github.com/hyperledger/composer/issues/3486


另一篇有用的文章
https://github.com/hyperledger/composer-tools/issues/141


https://github.com/hyperledger/composer/issues/3731


Do a npm install --save grpc@1.10.1 inside the composer-rest-server and composer-cli module

https://github.com/hyperledger/composer/issues/3944


重启server命令:
To restart the REST server using the same options, issue the following command:

composer-rest-server -c admin@tutorial-network -n never -w true

相关文章

网友评论

      本文标题:npm无法安装一些包时的解决办法

      本文链接:https://www.haomeiwen.com/subject/kcqcictx.html