question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

embark will not install and throws a ton of errors

See original GitHub issue

mike@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:open
  • Created 4 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TrevorJTClarkecommented, Jun 25, 2019

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 😃

1reaction
michaelsbradleyjrcommented, May 30, 2019
nvm install v10.16.0
Read more comments on GitHub >

github_iconTop Results From Across the Web

embark will not install and throws a ton of errors #1646 - GitHub
Pure JS implementation will be used. ... npm WARN remix-tests@0.1.1 requires a peer of yo-yoify@latest but none is installed. You must install peer...
Read more >
Troubleshooting - Embark Framework
If you do have problems caused by it, first follow the installation steps for your OS here. If you still have problems and...
Read more >
iurimatias/embark-framework - Gitter
The "Module did not self-register" issue seems like it might be related to more binding ... when i want to install embark I...
Read more >
Why did my swab fail? - Embark
Most commonly, a swab fails because there is not enough DNA in the sample. Alternatively, your swab is contaminated. This can happen if...
Read more >
Moodle in English: Doh! Moodle 3.7 upgrade errors - Moodle.org
Threw an error indicating it conflicted with a theme (Lambda) : ... If not a fresh install do above any way and bookmark/favorite...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found