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.

scrypt@6.0.3 preinstall: `node node-scrypt-preinstall.js'

See original GitHub issue

Attempting 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 rebuildornpm 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:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
michaelsbradleyjrcommented, Jul 30, 2018

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/653

0reactions
dotnetspeccommented, Jul 30, 2018

Thank 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error installing package with node-gyp (win_delay_load_hook ...
Failed at the scrypt@6.0.3 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm...
Read more >
node.js install web3 module scrypt issue - npm - Stack Overflow
Failed at the scrypt@6.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above....
Read more >
scripts - npm Docs
Description. The "scripts" property of your package.json file supports a number of built-in scripts and their preset life cycle events as well as...
Read more >
ConsenSys/truffle - Gitter
scrypt @6.0.3 preinstall C:\Users\ron\AppData\Roaming\npm\node_modules.staging\scrypt-370bfb8a node node-scrypt-preinstall.js.
Read more >
node-scrypt - Bountysource
npm install scrypt > scrypt@6.0.3 preinstall /Users/me/node_modules/scrypt > node node-scrypt-preinstall.js > scrypt@6.0.3 install ...
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