You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which package manager are you using? (Yarn is recommended)
npm
If the issue is web-related, please select the bundler (web.bundler in the app.json)
None
Summary
I'm getting an error resolving expo-router/entry on a brand new app. Following Expo docs, using npx create-expo-app@latest, immediately cd into the project and using npx expo start. I've tried reverting to old SDKs, but nothing seems to work. Not sure if the error is even reproducible on other machines.
Unable to resolve module ./node_modules/expo-router/entry from /Users/garrett/Documents/[03] Code/test/.:
None of these files exist:
* node_modules/expo-router/entry(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
* node_modules/expo-router/entry/index(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css)
RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
main
start_sim
0x0
0x0
I'm unable to reproduce this issue and there does not appear to be another related issues. This suggests that its a localised issue on your machine. Things I would be troubleshooting
Do those files actually exist?
You have a node_modules in your home folder. Feels unusual, could be causing a resolution issue
Is this your first React Native project? Do other projects work fine?
Is there an npm error file? Does it contain any warnings?
What happens if you try running npm install in the produce
Minimal reproducible example
https://github.com/gpossst/expo-issue
Which package manager are you using? (Yarn is recommended)
npm
If the issue is web-related, please select the bundler (
web.bundler
in theapp.json
)None
Summary
I'm getting an error resolving expo-router/entry on a brand new app. Following Expo docs, using
npx create-expo-app@latest
, immediately cd into the project and usingnpx expo start
. I've tried reverting to old SDKs, but nothing seems to work. Not sure if the error is even reproducible on other machines.Environment
The text was updated successfully, but these errors were encountered: