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
error: bundling failed: Error: Unable to resolve module "crypto" from "..\myProject\node_modules\speakeasy\index.js": Module "crypto" does not exist in the Haste module map
I am using React Native v0.57.7
Any Suggestions Please ?
The text was updated successfully, but these errors were encountered:
The crypto module is a built-in Node module; React Native runs JS on JavaScriptCore (when on the device or simulator) and on Chrome itself (when using Chrome debugging), so modules that depend on built-in Node.js modules cannot work. See the JavaScript Runtime section of the React Native docs for more info.
There are two solutions.
The solution you can do only using crypto is to use browserify.
Hey,
I am facing this issue,
error: bundling failed: Error: Unable to resolve module "crypto" from "..\myProject\node_modules\speakeasy\index.js": Module "crypto" does not exist in the Haste module map
I am using React Native v0.57.7
Any Suggestions Please ?
The text was updated successfully, but these errors were encountered: