npm install fails on ubuntu 18.04
andreireiand opened this issue · 0 comments
npm install -g ravencore-node
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
ravencore-node@1.0.3 preinstall /home/user/.nvm/versions/node/v14.11.0/lib/node_modules/ravencore-node
./scripts/download
sh: 1: ./scripts/download: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! ravencore-node@1.0.3 preinstall: ./scripts/download
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the ravencore-node@1.0.3 preinstall 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! /home/user/.npm/_logs/2020-09-19T23_04_54_505Z-debug.log
Log file has at its end:
6082 info lifecycle mixin-deep@1.3.2preinstall: mixin-deep@1.3.2preinstall: is-extendable@1.0.1
6083 silly preinstall is-extendable@1.0.1
6084 info lifecycle is-extendable@1.0.1
6085 silly preinstall minimist@0.0.8
6086 info lifecycle minimist@0.0.8~preinstall: minimist@0.0.8
6087 timing action:preinstall Completed in 113ms
6088 verbose unlock done using /home/user/.npm/_locks/staging-6f6f0b00fdaf1262.lock for /home/user/.nvm/versions/node/v14.11.0/lib/node_modules/.staging
6089 timing stage:rollbackFailedOptional Completed in 880ms
6090 timing stage:runTopLevelLifecycles Completed in 20380ms
6091 verbose stack Error: ravencore-node@1.0.3 preinstall: ./scripts/download
6091 verbose stack Exit status 126
6091 verbose stack at EventEmitter. (/home/user/.nvm/versions/node/v14.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
6091 verbose stack at EventEmitter.emit (events.js:314:20)
6091 verbose stack at ChildProcess. (/home/user/.nvm/versions/node/v14.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
6091 verbose stack at ChildProcess.emit (events.js:314:20)
6091 verbose stack at maybeClose (internal/child_process.js:1047:16)
6091 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
6092 verbose pkgid ravencore-node@1.0.3
6093 verbose cwd /home/user/ravencore-deb/rvn
6094 verbose Linux 4.15.0-117-generic
6095 verbose argv "/home/user/.nvm/versions/node/v14.11.0/bin/node" "/home/user/.nvm/versions/node/v14.11.0/bin/npm" "install" "-g" "ravencore-node"
6096 verbose node v14.11.0
6097 verbose npm v6.14.8
6098 error code ELIFECYCLE
6099 error errno 126
6100 error ravencore-node@1.0.3 preinstall: ./scripts/download
6100 error Exit status 126
6101 error Failed at the ravencore-node@1.0.3 preinstall script.
6101 error This is probably not a problem with npm. There is likely additional logging output above.
6102 verbose exit [ 126, true ]