Expo CLI not work

PS C:\Users\Supun> expo
throw err;

Error: Cannot find module ‘C:\Users\Supun\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js’
e[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)e[39m
e[90m at Function.Module._load (internal/modules/cjs/loader.js:677:27)e[39m
e[90m at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)e[39m
e[90m at internal/main/run_main_module.js:17:11e[39m {
code: e[32m’MODULE_NOT_FOUND’e[39m,

Hey @supun_cloudcone,

Could you please run expo diagnostics and paste the log that is printed out here?


Hi @adamjnav

There’s an issue with recent versions of expo-cli on Windows. There have been several posts on the forums about it.

@supun_cloudcone try this until the problem is fixed:

npm install -g expo-cli@3.5.0
1 Like

thank you. it worked

1 Like

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