卸载Hyperledger-composer后npm install错误-Blockchain

时间:2018-11-05 16:02:03

标签: hyperledger-fabric hyperledger blockchain hyperledger-composer

您好,我目前正在学习hyperledger作曲器,但我重新安装了它,然后又重新安装了它。现在,当我安装npm时,出现以下错误。如果有人可以帮助我,那就太好了。

➜  Dabbous-Innopay npm install

> fabric-dev-servers@0.0.14 prepare /Users/alydabbous/code/Dabbous-Innopay
> npm run build-archives


> fabric-dev-servers@0.0.14 build-archives /Users/alydabbous/code/Dabbous-Innopay
> gulp --gulpfile .travis/gulp.js

[16:45:08] No gulpfile found
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fabric-dev-servers@0.0.14 build-archives: `gulp --gulpfile .travis/gulp.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fabric-dev-servers@0.0.14 build-archives script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/alydabbous/.npm/_logs/2018-11-05T15_45_08_550Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fabric-dev-servers@0.0.14 prepare: `npm run build-archives`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fabric-dev-servers@0.0.14 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/alydabbous/.npm/_logs/2018-11-05T15_45_08_587Z-debug.log

1 个答案:

答案 0 :(得分:0)

确保您使用的是Node 8.9或以下版本:

  

节点-v    如果输出大于8.9,则卸载节点并使用8.9版本重新安装它,或使用nvm(Node Version Manager)。 Google,您可以轻松找到上述过程。