OpenCerts/admin-website

bug: npm installation failing

Closed this issue · 0 comments

Received bug report that the installation will fail on node v15.11.0 with following message:

npm ERR! code 128
npm ERR! git dep preparation failed
npm ERR! command /usr/local/Cellar/node/15.11.0/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/azeemav/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 128
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command git clone --mirror -q ssh://git@github.com/gulpjs/gulp.git /Users/azeemav/.npm/_cacache/tmp/git-clone-2c870d1c/.git
npm ERR! npm ERR! fatal: destination path '/Users/azeemav/.npm/_cacache/tmp/git-clone-2c870d1c/.git' already exists and is not an empty directory.
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/azeemav/.npm/_logs/2021-03-22T09_34_54_550Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/azeemav/.npm/_logs/2021-03-22T09_35_08_784Z-debug.log

image

and when switched to v12.14.0, it has the following issue:

image

The problem seemed to be fixable with the following suggestion:

web3/web3.js#3408

by running npm install github:barrysteyn/node-scrypt#fb60a8d3c158fe115a624b5ffa7480f3a24b03fb.