【发布时间】:2019-06-20 13:17:29
【问题描述】:
我尝试使用 expo start 运行我的第一个 react-native 应用程序,但出现以下错误 找不到模块‘expo/tools/LogReporter’
我发现了几个关于这个问题的问题并关注,但没有一个不能解决我的问题(我检查了所有这些问题,并按照他们说的做了)
包.json:
{
“main”: “node_modules/expo/AppEntry.js”,
“scripts”: {
“start”: “expo start”,
“android”: “expo start --android”,
“ios”: “expo start --ios”,
“eject”: “expo eject”
},
“dependencies”: {
“expo”: “^32.0.0”,
“react”: “16.5.0”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz”
},
“devDependencies”: {
“babel-preset-expo”: “^5.0.0”
},
“private”: true,
“name”: “sample”,
“version”: “1.0.0”,
“author”: “Jahanmir”,
“license”: “ISC”,
“description”: “”
}
【问题讨论】:
标签: reactjs react-native expo