LayerXcom / cordage

Cordage: the blockchain interoperability project!
https://layerxcom.github.io/cordage/en/
Other
52 stars 6 forks source link

Error running install script for optional dependency: "/cordage/atomic-swap-ethereum-env/node_modules/scrypt: Command failed. #54

Open sillysachin opened 4 years ago

sillysachin commented 4 years ago

Issue is similar to https://github.com/ethereum/web3.js/issues/2913

➜  atomic-swap-ethereum-env git:(master) ✗ nvm use stable 
Now using node v12.13.0 (npm v6.12.0)
➜  atomic-swap-ethereum-env git:(master) ✗ yarn           
yarn install v1.22.4
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
warning " > chai-bn@0.2.1" has unmet peer dependency "bn.js@^4.11.0".
[5/5] 🔨  Building fresh packages...
[-/4] ⠄ waiting...
[-/4] ⠄ waiting...
[3/4] ⠄ scrypt
warning Error running install script for optional dependency: "/Volumes/Workspace/BWork/cordage/atomic-swap-ethereum-env/node_modules/scrypt: Command failed.
sillysachin commented 4 years ago

Issue is not seen in latest Node v12 by using nvm install v12.18.4