【发布时间】:2017-08-10 11:20:10
【问题描述】:
当我使用react-native 执行应用程序时遇到问题:
我正在使用create-react-native-app 创建我的应用程序,在我执行npm start 命令并在我的智能手机上打开expo 中的应用程序后出现此错误。
错误:
There was an unhandled error: 19.0.0 is not a valid SDK version. Options are 18.0.0, 17.0.0, 16.0.0, 15.0.0, 14.0.0, 13.0.0, 12.0.0, 11.0.0, UNVERSIONED.
package.json:
{
"name": "app3",
"version": "0.0.0",
"description": "Hello Expo!",
"author": null,
"private": true,
"main": "node_modules/expo/AppEntry.js",
"dependencies": {
"expo": "^19.0.0",
"react": "16.0.0-alpha.12",
"react-native": "https://github.com/expo/react-native/archive/sdk-19.0.0.tar.gz"
}
}
【问题讨论】:
标签: javascript reactjs react-native expo