Unable to resolve "@socket.io/component-emitter" from "node_modules\socket.io-client\build\esm\manager.js" React Native Expo #4930
Unanswered
Rise-admin1
asked this question in
Q&A
Replies: 2 comments
-
Works with 4.1.2 though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's really weird. In version 4.1.2, the package was named In latest version, we have forked our own version to Not sure why the metro builder complains though. Maybe the fact that it's a scoped package ("@socket.io/...")? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed socket.io on the client side using
npm install socket.io-client
and created a socket fileWhen running the metro builder, I get an error
Unable to resolve "@socket.io/component-emitter" from "node_modules\socket.io-client\build\esm\manager.js"
What is a possible fix?
Beta Was this translation helpful? Give feedback.
All reactions