加 --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
网友评论