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

Unable to resolve module stream #106

Open
hsnGh67 opened this issue Jun 27, 2021 · 2 comments
Open

Unable to resolve module stream #106

hsnGh67 opened this issue Jun 27, 2021 · 2 comments

Comments

@hsnGh67
Copy link

hsnGh67 commented Jun 27, 2021

I am trying to use @walletconnect/client in RN 0.64.2. I followed the docs , but I am facing this error

Screenshot 2021-06-27 115740

@JonasHiltl
Copy link

Do you have stream added to your postinstall script? Like below:

"postinstall": "rn-nodeify --install fs,util,process,path,events,stream --hack"

You could also manually run rn-nodeify --install "stream" --hack

@vietnamese-chowder
Copy link

I have the exact same issue. My postinstall script calls

yarn rn-nodeify --install 'crypto,os,buffer,react-native-randombytes,vm,stream,http,https,url,net,fs,zlib' --hack --yarn

And it affects not only stream in cipher-base but also http in https-browserify. I have to manually edit their respective package.json's to make it work. What's also weird is that these don't always occur, but most of the time they do.

react-native: 0.68.0
rn-nodeify: ^10.3.0
https-browserify: 0.0.1

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

3 participants