0.4.2: diffie-hellman cannot find ./lib/primes
See original GitHub issueHello,
Looks like the update from a couple hours ago could be bringing in a bug with a downstream dependency.
Dependencies go:
webpack 1.5.1depends onnode-libs-browser ~0.4.0node-libs-browser 0.4.2depends oncrypto-browserify ^3.9.13crypto-browserify 3.9.13depends ondiffie-hellman ^3.0.1diffie-hellman 3.0.1breaks
Error in browser is: Cannot find module "./lib/primes", which is required from diffie-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.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
2.3 Diffie–Hellman key exchange - Brown Math
The Diffie–Hellman key exchange algorithm solves the following dilemma. ... The next step is for Alice to pick a secret integer a that...
Read more >Microsoft security advisory: Updated support for Diffie-Hellman ...
Click Start, click Run, type regedit in the Open box, and then click OK. · Locate and then click the following subkey: ·...
Read more >What is the Diffie–Hellman key exchange and how does it work?
The Diffie-Hellman key exchange was designed on the basis of the discrete logarithm problem being difficult to solve. The most effective ...
Read more >Diffie-hellman key exchange (video) - Khan Academy
Ok, I might be missing something obvious, but what prevents Eve from making her own private number, and pretending to be Bob? Also,...
Read more >Diffie–Hellman key exchange - Wikipedia
Diffie –Hellman key exchange is a mathematical method of securely exchanging cryptographic keys over a public channel and was one of the first...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I receive this same error using
v2.1.0-beta6. has this been fixed?still broken in
webpack@2.1.0-beta.7. my workaround for the moment is adding thejson-loader: