Add bindings dependency - #144
Conversation
BrandonZacharie
commented
Nov 26, 2016
Anyway to test this / prove it fixes something? |
I spent HOURS trying to solve this issue: When running npm start Until I finally stumbled upon this PR. I tried the changes and it fixed it. This should be merged. Why isn't it? |
ml1nk
commented
Jun 21, 2018
I don't think barrysteyn is currently working on this project, there are at least two other pulls that should be merged, too. If you want you can try to use my fork. |
dbryan0516
commented
Jun 21, 2018
Thanks @ml1nk But if this repo isn't being maintained anymore than npm install scrypt should be updated to point to an up to date version |
ml1nk
commented
Jun 21, 2018
That's true but only barrysteyn can do it, at least a scoped package with a current version makes switching rather easy. |
chrisveness
commented
Jul 7, 2018
@dbryan0516, @ml1nk if you are using Node v10.5.0 (current), scrypt has finally been released as part of the crypto module: I have written a zero-dependency npm module scrypt-kdf which you might find interesting as it has none of the issues of native abstractions, and which I would be glad for you to try out. It has a slightly simplified API compared with this module (it is promise-based and interfaces with strings rather than buffers), but it operates on the same stored password hashes. If you try it, let me know your experiences! @chrisveness |
demurgos
commented
Jul 9, 2018
@chrisveness |
chrisveness
commented
Jul 9, 2018
demurgos
commented
Jul 9, 2018
@chrisveness L110 is more complicated and opinion-based. I see the goal to help localizing the error to your lib (a good thing), but I'm always a bit uneasy with this because you may loose context (for example if there is some extra data beyond what you get with So L110 may be an overreaction from me, but it'd be better to throw something at L179. |
dwalintukan
commented
Jul 12, 2018
I am having this same issue. I tried changing my node version to 10.5.0 in NVM and set the engine to 10.5.0 as well, but the |
chrisveness
commented
Jul 13, 2018
@demurgos you are quite correct about L179. I've not been able to think of any case where that exception would get thrown, but I was lazy in ignoring it: I've now corrected it to throw in the same way as L110. The |
chrisveness
commented
Jul 13, 2018
@dwalintukan I can't think of any reason |
Probably will solve many issues, like #135ConsenSys-archive/ganache-cli-archive#204 (comment)