我是react-native.
的新手,正在尝试运行一个简单的应用程序,但这给我带来了很多与依赖项有关的问题。
我有什么,
我将通天塔设置为
{
}
我的package.json
{
"name": "reactCourse",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"android": "react-native run-android"
},
"dependencies": {
"react": "16.6.1",
"react-native": "0.55.3"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.47.0",
"react-test-renderer": "16.6.1"
},
"jest": {
"preset": "react-native"
}
}
我不明白为什么这会给我这个错误。
有人可以帮我吗?