C:\Users\User1\Desktop\third2>npm start
> @ start C:\Users\User1\Desktop\third2
> expo start
internal/modules/cjs/loader.js:628
throw err;
^
Error: Cannot find module 'C:\Users\User1\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
at Function.Module._load (internal/modules/cjs/loader.js:527:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
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:\Andreas\_logs\2019-12-04T14_09_04_646Z-debug.log
在更新之前,无论什么都不起作用,也不能启动项目或构建新项目,然后一切正常 更新至版本(3.9.1)