Open criticalbh opened 6 years ago
can we fix this asap?
For right now, I am cloning a local copy of the scrypt repo and changing that line from the require("./build/Release/scrypt") to require("./build/Release/scrypt.node") and then adding 'node-loader' to webpack config and it works fine. However yes we will need an official fix for this :) Also some note that youll need node-loader
I created a patch file for scrypt
to be used with patch-package
any updates on this?
Is work on it in progress?
There is a replacement (scrypt-kdf) based on Node's native scrypt support.
It looks like
var scryptNative = require("./build/Release/scrypt")
can not be found. If I replace this withvar scryptNative = require("./build/Release/scrypt.node")
it works.Here is the error message: