Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web3-core-requestmanager #996

Closed
ghost opened this issue Aug 19, 2017 · 2 comments
Closed

web3-core-requestmanager #996

ghost opened this issue Aug 19, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 19, 2017

Hi, I am trying to import web3 in react native project. I have the following error. Please help me to solve it.
screen shot 2017-08-18 at 9 56 16 pm

@jdkanani
Copy link
Contributor

Related to #966

@ghost
Copy link
Author

ghost commented Aug 19, 2017

Fixed: #576

Edit The Following File

/node_modules/bignumber.js/bignumber.js

edit as follows:

-if ( !crypto ) try { crypto = require('crypto'); } catch (e) {}
+if ( !crypto ) try { crypto = require('crypto-js'); } catch (e) {} 

Web3 Version: 0.18.2

@ghost ghost closed this as completed Aug 19, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant