我正在使用react-native react-native-router-flux
。我正在玩router-flus
的不同版本。长话短说,我把事情搞砸了,并在运行应用程序时开始出错。然后决定卸载npm uninstall <name> removes
npm uninstall <name> --save
npm uninstall <name> --save-dev
npm -g uninstall <name> --save
以从头开始。我用了以下所有方法:
npm list react-native-router-flux
现在,当我尝试
时{
"name": "manager",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"firebase": "^4.2.0",
"react": "16.0.0-alpha.12",
"react-native": "0.47.1",
"react-redux": "^5.0.5",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "2.1.0",
"eslint-config-rallycoding": "^3.2.0",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
}
我收到此消息:
但仍然在运行项目时遇到如下所示的相同错误
编辑:
这是我的package.json:
private static LinkedList<Integer> melhorMoto1 = new LinkedList<>();