Open SmileAjh opened 6 years ago
@anxiaohe HI. Have you solved the problem? I am facing the same problem
I am running with node v8.17.0 and have less of an error but a similar thing
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! copay@3.15.4 apply:copay: npm i fs-extra && cd app-template && node apply.js copay && npm i && cordova prepare
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the copay@3.15.4 apply:copay 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/circuitbreaker/.npm/_logs/2020-04-03T01_30_26_695Z-debug.log
I eneded up using Node 12.2.0
. And sudo apt-get install build-essential
helped with the npm install issues
npm ERR! Linux 4.4.0-112-generic npm ERR! argv "/home/allen/Documents/node-v6.11.1-linux-x64/bin/node" "/home/allen/Documents/copay/node_modules/.bin/npm" "i" "fs-extra" npm ERR! node v6.11.1 npm ERR! npm v2.15.12 npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer grunt-angular-gettext@2.3.8 wants grunt@>=0.4.1 npm ERR! peerinvalid Peer grunt-contrib-concat@1.0.1 wants grunt@>=0.4.0 npm ERR! peerinvalid Peer grunt-exec@1.0.1 wants grunt@>=0.4 npm ERR! peerinvalid Peer grunt-nw-builder@2.0.3 wants grunt@^1.0.1 npm ERR! peerinvalid Peer grunt-sass@1.2.1 wants grunt@>=0.4.0 npm ERR! peerinvalid Peer load-grunt-tasks@3.5.2 wants grunt@>=0.4.0
npm ERR! Please include the following file with any support request: npm ERR! /home/allen/Documents/copay/npm-debug.log
npm ERR! Linux 4.4.0-112-generic npm ERR! argv "/home/allen/Documents/node-v6.11.1-linux-x64/bin/node" "/usr/local/bin/npm" "run" "apply:copay" npm ERR! node v6.11.1 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! copay@3.14.0 apply:copay:
npm i fs-extra && cd app-template && node apply.js copay && npm i && cordova prepare
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the copay@3.14.0 apply:copay script 'npm i fs-extra && cd app-template && node apply.js copay && npm i && cordova prepare'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the copay package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! npm i fs-extra && cd app-template && node apply.js copay && npm i && cordova prepare npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs copay npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls copay npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /home/allen/Documents/copay/npm-debug.log