-
Notifications
You must be signed in to change notification settings - Fork 3k
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 (engine.io-client) In window OS #1113
Comments
hey! i just met the same problem today,and i just solved it by copying the xmlhttprequest.js file in engine.io-client\lib to engine.io-client\lib\transports, and then change require('xmlhttprequest') to require('./xmlhttprequest') in all files in engine.io-client\lib\transports. Hope it works for you! |
@dazich Thanks for the hack .but this cannot be a permanent solution to this issue . |
@GeekRishabh it seems the browser field is not handled properly in react-native. Could you please open an issue in their repository? |
Faced this issue too! |
guys anyone figure out a solution ? |
npm install engine.io-client |
i try it before and is not working |
I had the similar, issue when i made checkout of existing project. " Can't resolve 'engine.io-client' " Was fixed by installing socket.io-client. npm i socket.io-client |
umm anyone figure out a solution ? |
Closed due to inactivity, please reopen if needed. |
[x] report a bug
Current behaviour
When i tried to run the React native project with socket.io-client as dependency . Error is shown in Window OS .while In MAC and in Linux the app works fine without any issue .
Expected behaviour
App should work fine in Windows Os too .
Setup
-project Type: React Native (CRNA)
The text was updated successfully, but these errors were encountered: