我正在寻找React-Native的示例项目。首先,我得到了无法解决路由器通量的erro。然后我添加了磁通依赖,我运行npm start。在那之后我得到了#34; Undefined不是一个对象"在package.json中。我该如何解决呢。你能帮我么?
{
"name": "FirsTrial",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.3.1",
"react-native": "0.55.3",
"react-native-router-flux": "3.38.0"
},
"devDependencies": {
"babel-jest": "22.4.3",
"babel-preset-react-native": "^2.1.0",
"jest": "22.4.3",
"react-test-renderer": "16.3.1"
},
"jest": {
"preset": "react-native"
}
}
" FirsTrial"有下划线!!!