繁体   English   中英

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

[英]npm install error after uninstalling Hyperledger-composer - Blockchain

您好,我目前正在学习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 

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM