Closed thaarok closed 3 years ago
Hey @hkalina, I upgraded to scrypt-js in #81 however I'm not sure if we've done a release yet. Could you try using the code from the master branch?
Seems it is already fixed in 1.2.0, wrong version on my side - sorry - closing issue.
The packge depends on "node-scrypt" package which is deprecated:
The package fails to build in last released version and it prevents to
npm install
projects having that or THIS package in dependencies: https://github.com/ChainSafe/web3.js/issues/3408#issue-577844630 (I had the same build issue on Fedora Linux in app with keythereum dependency - the scrypt was failing to build.)The fix for this is merged, but the package maintainer is unable to release fixed version: https://github.com/barrysteyn/node-scrypt/pull/197#issuecomment-630954048
The only solution is to use version from git:
But that is pretty complicated if your package depends indirectly, like through keythereum. You need to hack it using npm-shrinkwrap and lock all your dependencies on specified versions. (Which is not usable for libraries.)
Also the package author recommends to not use node-scrypt:
Are there any plans to remove or replace this dependency? Thanks!