error Cannot find module 'metro-config'

Am getting the following error after following the setup instructions
Please note the expo UI opens and shows for a few seconds, then the CLI crashes
I got it working once then this error started to come up so i deleted everything and started again but continue to get this error.

PS D:\temp\expo_tryout\first-project> npm start

@ start D:\temp\expo_tryout\first-project
expo start

Starting project at D:\temp\expo_tryout\first-project
Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser… (press shift-d to disable)
error Cannot find module ‘metro-config’. Run CLI with --verbose flag for more details.

Metro Bundler process exited with code 1
Set EXPO_DEBUG=true in your env to view the stack trace.
npm ERR! errno 1
npm ERR! @ start: expo start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vooos\AppData\Roaming\npm-cache_logs\2019-10-23T03_33_21_594Z-debug.log
PS D:\temp\expo_tryout\first-project>

expo diagnostics:

Expo CLI 3.4.1 environment info:
OS: Windows 10
Yarn: 1.19.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 5.2.0 - C:\Program Files\nodejs\npm.CMD
Android Studio: Version AI-191.8026.42.35.5791312

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.