npm install之cannot run in wd %s %s (wd=%s)问题及解决

时间:2024-04-13 11:14:30

    当进行hyperledger composer的first-network进行npm install时出现npm WARN lifecycle [email protected]~prepublish : cannot run in wd %s %s (wd=%s) [email protected] mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna /opt/gopath/src/github.com/hyperledger/composer/development/my-network的问题??

   怎么办?

   可以尝试去执行以下:npm run prepublish(具体如下图所示)

  npm install之cannot run in wd %s %s (wd=%s)问题及解决