embark will not install and throws a ton of errors
See original GitHub issuemike@pop-os:~$ sudo npm -g install embark npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead: npm WARN deprecated npm i nyc npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives. npm WARN deprecated ipfs-api@17.2.4: ipfs-api has been renamed to ipfs-http-client, please update your package.json to get the latest version. npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
scrypt@6.0.3 preinstall /usr/local/lib/node_modules/embark/node_modules/scrypt node node-scrypt-preinstall.js
Error: Error: Command failed: ./configure ./configure: line 1900: config.log: Permission denied ./configure: line 1910: config.log: Permission denied
scrypt@6.0.3 preinstall /usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt node node-scrypt-preinstall.js
Error: Error: Command failed: ./configure ./configure: line 1900: config.log: Permission denied ./configure: line 1910: config.log: Permission denied
typechecker@2.0.8 preinstall /usr/local/lib/node_modules/embark/node_modules/extract-opts/node_modules/typechecker node ./cyclic.js
typechecker@2.0.8 preinstall /usr/local/lib/node_modules/embark/node_modules/extendr/node_modules/typechecker node ./cyclic.js
/usr/local/bin/embark -> /usr/local/lib/node_modules/embark/bin/embark
keccak@1.4.0 install /usr/local/lib/node_modules/embark/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/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak node-gyp rebuild
gyp WARN EACCES user “root” does not have permission to access the dev dir “/home/mike/.node-gyp/10.15.2”
gyp WARN EACCES attempting to reinstall using temporary dev dir “/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak/.node-gyp”
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak/.node-gyp’
gyp ERR! System Linux 5.0.0-15-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/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/keccak
gyp ERR! node -v v10.15.2
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.
Keccak bindings compilation fail. Pure JS implementation will be used.
scrypt@6.0.3 install /usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt node-gyp rebuild
gyp WARN EACCES user “root” does not have permission to access the dev dir “/home/mike/.node-gyp/10.15.2” gyp WARN EACCES attempting to reinstall using temporary dev dir “/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt/.node-gyp” gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt/.node-gyp’ gyp ERR! System Linux 5.0.0-15-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/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/scrypt gyp ERR! node -v v10.15.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok
secp256k1@3.5.2 install /usr/local/lib/node_modules/embark/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/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1 node-gyp rebuild
gyp WARN EACCES user “root” does not have permission to access the dev dir “/home/mike/.node-gyp/10.15.2”
gyp WARN EACCES attempting to reinstall using temporary dev dir “/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1/.node-gyp”
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1/.node-gyp’
gyp ERR! System Linux 5.0.0-15-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/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/secp256k1
gyp ERR! node -v v10.15.2
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.
Secp256k1 bindings compilation fail. Pure JS implementation will be used.
sha3@1.2.2 install /usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3 node-gyp rebuild
gyp WARN EACCES user “root” does not have permission to access the dev dir “/home/mike/.node-gyp/10.15.2”
gyp WARN EACCES attempting to reinstall using temporary dev dir “/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3/.node-gyp”
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3/.node-gyp’
gyp ERR! System Linux 5.0.0-15-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/embark/node_modules/ganache-cli/node_modules/ganache-core/node_modules/sha3
gyp ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN remix-tests@0.1.1 requires a peer of yo-yoify@latest but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/embark/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: scrypt@6.0.3 (node_modules/embark/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/mike/.npm/_logs/2019-05-30T03_11_39_089Z-debug.log mike@pop-os:~$ embark embark: command not found mike@pop-os:~$
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
Any progress here? This install is a huge barrier to entry for many (we tried this at a meetup, and only 2 were able to get past install). Just tried again with 10.16, 11.9, 11.15, none are working currently. Is there a stable version available? (Even tried
npm install -g embark@4.0.2
). You have the best contract runtime, I want to introduce new developers using this, but its impossible without install working 😃