I’m getting this error trying to run expo start. Could you please advise?
(base) arun@arun-HP-Pavilion-g6-Notebook-PC:~/Documents/react_native_test$ expo start
Starting project at /home/arun/Documents/react_native_test
Expo DevTools is running at http://localhost:19002
Your project is in SDK version >= 33.0.0, but the expo package version seems to be older.
Opening DevTools in the browser... (press shift-d to disable)
Cannot find module 'expo/tools/LogReporter'
Require stack:
- /home/arun/Documents/react_native_test/noop.js
Set EXPO_DEBUG=true in your env to view the stack trace.
(base) arun@arun-HP-Pavilion-g6-Notebook-PC:~/Documents/react_native_test$
Did update to the latest but still getting the same error.
(base) arun@arun-HP-Pavilion-g6-Notebook-PC:~/Documents/react_native_test$ expo start
Starting project at /home/arun/Documents/react_native_test
Expo DevTools is running at http://localhost:19002
Your project is in SDK version >= 33.0.0, but the expo package version seems to be older.
Opening DevTools in the browser... (press shift-d to disable)
Cannot find module 'expo/tools/LogReporter'
Require stack:
- /home/arun/Documents/react_native_test/noop.js
Set EXPO_DEBUG=true in your env to view the stack trace.
(base) arun@arun-HP-Pavilion-g6-Notebook-PC:~/Documents/react_native_test$ expo --version
3.0.10
The upgrade instructions will tell you what to specify for those SDK versions and dependencies. You might also want to create a new project with expo init and then compare the app.json and package.json to your app.
I am pretty sure that doing the above will fix this error:
Your project is in SDK version >= 33.0.0, but the expo package version seems to be older.
I’m not sure about the following error:
Cannot find module 'expo/tools/LogReporter'
but there’s a good chance it will fix that too. If not, try removing your node_modules and re-running npm install or yarn (depending on which one you use to manage your dependencies).