node-scrypt icon indicating copy to clipboard operation
node-scrypt copied to clipboard

TypeError: scryptNative.hashSync is not a function

Open ToufeeqP opened this issue 5 years ago • 1 comments

This issue is related to #162. After fixing the #162 with a given solution, when I am trying to call scrypt.hashSync(), It will through following error.

Uncaught (in promise) TypeError: scryptNative.hashSync is not a function at Object.hashSync (static/js/0.chunk.js:134641) at _callee$ (static/js/main.chunk.js:1088) at tryCatch (static/js/0.chunk.js:562) at Generator.invoke [as _invoke] (static/js/0.chunk.js:788) at Generator.prototype.(anonymous function) [as next] (http://localhost:3000/static/js/0.chunk.js:614:21) at asyncGeneratorStep (static/js/0.chunk.js:50) at _next (static/js/0.chunk.js:72) at static/js/0.chunk.js:79 at new Promise () at static/js/0.chunk.js:68 at static/js/main.chunk.js:1118

ToufeeqP avatar Mar 15 '19 12:03 ToufeeqP

I am also getting TypeError: scryptNative.hashSync is not a function when i am trying to encode a keystorefile with kdf:scrypt set...

iemwill avatar Mar 31 '20 09:03 iemwill