Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

howtoresolvebelowmetionerrorwhileinstallingganacheclionubuntu1604

sudo npm install -g ganache-cli Unhandled rejection Error: Command failed: /usr/bin/git clone --depth=1 -q -b browserifyCompatible git://github.com/frozeman/WebSocket-Node.git /home/coinmark-003/.npm/_cacache/tmp/git-clone-b1f6d4d6 /home/coinmark-003/.npm/_cacache/tmp/git-clone-b1f6d4d6/.git: Permission denied

at ChildProcess.exithandler (child_process.js:276:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)

scrypt@6.0.3 preinstall /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt node node-scrypt-preinstall.js

Error: Error: Command failed: ./configure ./configure: line 1904: config.log: Permission denied ./configure: line 1914: config.log: Permission denied

/usr/local/bin/ganache-cli -> /usr/local/lib/node_modules/ganache-cli/cli.js

keccak@1.4.0 install /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

keccak@1.4.0 rebuild /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak node-gyp rebuild

gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak/build' gyp ERR! System Linux 4.15.0-39-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak gyp ERR! node -v v8.14.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild 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/coinmark-003/.npm/_logs/2018-12-01T19_36_44_354Z-debug.log Keccak bindings compilation fail. Pure JS implementation will be used.

scrypt@6.0.3 install /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt node-gyp rebuild

gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt/build' gyp ERR! System Linux 4.15.0-39-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt gyp ERR! node -v v8.14.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

secp256k1@3.5.2 install /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1 npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

secp256k1@3.5.2 rebuild /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1 node-gyp rebuild

gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1/build' gyp ERR! System Linux 4.15.0-39-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1 gyp ERR! node -v v8.14.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! secp256k1@3.5.2 rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the secp256k1@3.5.2 rebuild 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/coinmark-003/.npm/_logs/2018-12-01T19_36_45_180Z-debug.log Secp256k1 bindings compilation fail. Pure JS implementation will be used.

sha3@1.2.2 install /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3 node-gyp rebuild

gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3/build' gyp ERR! System Linux 4.15.0-39-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3 gyp ERR! node -v v8.14.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: scrypt@6.0.3 (node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: scrypt@6.0.3 install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sha3@1.2.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sha3@1.2.2 install 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/coinmark-003/.npm/_logs/2018-12-01T19_36_46_118Z-debug.log

Comments