作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
Error: Cannot find module 'C:\Users\senyo\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
at executeUserCode (internal/bootstrap/node.js:499:15)
at startMainThreadExecution (internal/bootstrap/node.js:436:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! argon-react-native@1.3.0 start: `expo start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the argon-react-native@1.3.0 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\senyo\AppData\Roaming\npm-cache\_logs\2019-11-20T07_36_37_359Z-debug.log
最佳答案
尝试
npm install -g expo-cli --force
这对我有用
关于node.js - 错误 : Cannot find module 'C:\Users\senyo\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58949120/
Error: Cannot find module 'C:\Users\senyo\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js'
我是一名优秀的程序员,十分优秀!