Expo SDK 50 and expo-router 3 upgrade: node_modules/expo-router/entry.js: .plugins[0][0] must be a string, object, function #26642
Replies: 7 comments 15 replies
-
hey there! can you share your babel.config.js and metro.config.js? |
Beta Was this translation helpful? Give feedback.
-
I'm also hitting this when upgrading |
Beta Was this translation helpful? Give feedback.
-
For us this is also blocking development. We had to rollback to SDK 49 and router v2 because of this bug. |
Beta Was this translation helpful? Give feedback.
-
I'm not using metro. Using Getting How to resolve it in that case? @brentvatne |
Beta Was this translation helpful? Give feedback.
-
I have reproduced this problem through demo, and everyone is welcome to solve it together. › Opening on iOS...
› Opening exp+obytesapp://expo-development-client/?url=http%3A%2F%2F192.168.2.8%3A8081 on iPhone 15 Pro Max
› Press ? │ show all commands
tailwindcss(ios) rebuilding... done
iOS Bundling failed 262ms (../../node_modules/expo-router/entry.js)
error: ../../node_modules/expo-router/entry.js: .plugins[0] must be a string, object, function https://github.com/isnolan/expo-monorepo-example/tree/obytes |
Beta Was this translation helpful? Give feedback.
-
Have you run |
Beta Was this translation helpful? Give feedback.
-
In my case I have a monorepo with one expo project installed. As I am using As @brentvatne stated, it is related to |
Beta Was this translation helpful? Give feedback.
-
After upgrading expo and expo-router to latest I am getting this error : node_modules/expo-router/entry.js: .plugins[0][0] must be a string, object, function
I followed all the breaking change fixes in Evan's medium article (here) on expo-router v3 release.
I am not able to share much code, which is why I am opening a discussion rather than an issue; if you have any thoughts and would like a snippet of something specific I can possibly provide that, but has anyone come across this error yet? Not seeing anything in the GH issues.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions