-
Notifications
You must be signed in to change notification settings - Fork 79
0.4.2: diffie-hellman cannot find ./lib/primes #19
Comments
To downgrade and workaround temporarily (for anyone else that finds this thread and has the same issue:
This will add an explicit dependency in your |
@sokra This was kind of unexpected from upgrading my old webpack version! (1.5.3)... Everything that I have that relied on that crypto shim is now broken. The version there doesn't have any AES function implemented! Adding an explicit dep to my package.json for |
Fixed. See browserify/diffie-hellman#21 |
I receive this same error using |
still broken in
|
@UnsungHero97 this work well just want to point that by defualt node_modules are included so you don't need to add |
@UnsungHero97 The version of If you're still having the problem, can you give the "crypto-browserify" portion of the tree output from |
@terinjokes thats my output for npm ls crypto-browserify: /var/www/html/filecloudprod I still get the error, but working with laravel 5.3. |
Hello,
Looks like the update from a couple hours ago could be bringing in a bug with a downstream dependency.
Dependencies go:
webpack 1.5.1
depends onnode-libs-browser ~0.4.0
node-libs-browser 0.4.2
depends oncrypto-browserify ^3.9.13
crypto-browserify 3.9.13
depends ondiffie-hellman ^3.0.1
diffie-hellman 3.0.1
breaksError in browser is:
Cannot find module "./lib/primes"
, which is required fromdiffie-hellman/browser.js
Looks like there exists a
./lib/primes.json
in that package, so maybe configuring webpack to auto check ".json" suffixes would work, I'll try that.Will also learn about
npm-shrinkwrap
after this.Any other tips for resolving issue? Thank you.
The text was updated successfully, but these errors were encountered: