-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Uncaught TypeError: crypto.createHash is not a function #270
Comments
Interesting, the module in question is https://github.com/jbenet/js-multihashing, and |
@vijayee we haven't been able to replicate this issue. Could you confirm if this is still a problem for you? If it happens again, can you try with the dist version, it might be a problem on your transpilation step. |
@diasdavid I'll check this out later this evening and get back to you tomorrow on this. |
@vijayee I'll assume that you got this one figured out :) Let me know if not and we will reopen |
I'm using webpack 2 and tried to use crypto causing the same issue @vijayee has seen.
Any idea how to solve these messages? |
At first glance this looks like you need a json loader? https://www.npmjs.com/package/json-loader
|
yes, had it with excluding node_modules .... changed to include and worked :) |
When performing and object.get command in the browser...
Uncaught TypeError: crypto.createHash is not a function ....is thrown by
in from the webpacked dist of ipfs
I'm not sure what module this is but it seems the crypto module never makes it into the code it instead sees window.crypto.
The text was updated successfully, but these errors were encountered: