scrypt@6.0.3 preinstall: `node node-scrypt-preinstall.js'
See original GitHub issueAttempting to install Embark I get this error:
scrypt@6.0.3 preinstall: node node-scrypt-preinstall.js
npm ERR! Exit status 1
npm ERR! Failed at the scrypt@6.0.3 preinstall script.
OS: Linux Mint 18.3 64bit
I have: python (v2.7 recommended) make A proper C/C++ compiler toolchain, like GCC
versions: Now using node v8.11.3 (npm v5.6.0) nodejs v.4.2.6
I have been able to create an ‘embark demo’ folder using the ‘embark demo’ command. When I try ‘embark run’ I get:
rror: The module ‘/usr/local/lib/node_modules/embark/node_modules/scrypt/build/Release/scrypt.node’
was compiled against a different Node.js version using
NODE_MODULE_VERSION 46. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using npm rebuild
or npm install
).
Neither npm rebuildor
npm install` make an difference.
I also tried: npm rebuild bcrypt --update-binary no difference
I see I need to update my node version to 8.10 or higherI tried: npm install nodejs-latest nodejs version is still 4.2.6 how can I update the nodejs version?
Any suggestions? Thanks for your help …
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
You’re very welcome.
We also just discovered the
'ethereumjs-wallet/hdkey'
problem. It’s owing to a breaking change made, probably inadvertently, to a software package embark relies upon. We have contacted the authors of that package and are implementing a fix for embark: https://github.com/embark-framework/embark/pull/653Thank you very much for your time and patient explanation. That has resolved the embark installation issues. For ‘embark run’ I get: Error: Cannot find module ‘ethereumjs-wallet/hdkey’ After ‘npm -g install ethereumjs-testrpc’ However, I will open that as a new issue.