You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
@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 [email protected] fixed it.
@UnsungHero97 The version of node-libs-browser used by Webpack 2 was updated back in January (unfortunately, the v1 branch still hasn't upgraded). In any case, by the time 2.1.0-beta.7 was released the version of crypto-browserify should have had the fixes need for diffie-hellman.
If you're still having the problem, can you give the "crypto-browserify" portion of the tree output from npm ls? I'd really like to hunt it down and resolve it.
Activity
seanadkinson commentedon Mar 4, 2015
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
package.jsonfor[email protected], so be sure to remove in that future when this issue is resolved.use older version for crypto
dozoisch commentedon Apr 1, 2015
@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
[email protected]fixed it.vihangm commentedon Jan 26, 2016
Fixed. See browserify/diffie-hellman#21
pruett commentedon Apr 28, 2016
I receive this same error using
v2.1.0-beta6. has this been fixed?UnsungHero97 commentedon May 17, 2016
still broken in
[email protected]. my workaround for the moment is adding thejson-loader:jorawarsingh commentedon Jul 9, 2016
@UnsungHero97 this work well just want to point that by defualt node_modules are included so you don't need to add
include: [
/node_modules/
]
terinjokes commentedon Aug 16, 2016
@UnsungHero97 The version of
node-libs-browserused by Webpack 2 was updated back in January (unfortunately, the v1 branch still hasn't upgraded). In any case, by the time2.1.0-beta.7was released the version ofcrypto-browserifyshould have had the fixes need for diffie-hellman.If you're still having the problem, can you give the "crypto-browserify" portion of the tree output from
npm ls? I'd really like to hunt it down and resolve it.