We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用RN init的初始项目接入的,run安卓的时候提示没有:babel-preset-react-native 包,install后默认安装的是4.0.1的版本,继续run就红屏报错: Loading dependency graph, done. error: bundling failed: TypeError: Cannot read property 'bindings' of null
附: { "name": "AntdDemo", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "antd-mobile-rn": "^2.3.1", "react": "16.6.1", "react-native": "0.57.5" }, "devDependencies": { "babel-jest": "23.6.0", "babel-preset-react-native": "4.0.1", "babel-plugin-import": "^1.11.0", "jest": "23.6.0", "metro-react-native-babel-preset": "0.49.2", "react-test-renderer": "16.6.1" }, "jest": { "preset": "react-native" } }
The text was updated successfully, but these errors were encountered:
我们也遇到相同的问题。好像是版本不匹配。但是不清楚是哪里冲突了
Sorry, something went wrong.
No branches or pull requests
用RN init的初始项目接入的,run安卓的时候提示没有:babel-preset-react-native 包,install后默认安装的是4.0.1的版本,继续run就红屏报错:
Loading dependency graph, done.
error: bundling failed: TypeError: Cannot read property 'bindings' of null
附:
{
"name": "AntdDemo",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"antd-mobile-rn": "^2.3.1",
"react": "16.6.1",
"react-native": "0.57.5"
},
"devDependencies": {
"babel-jest": "23.6.0",
"babel-preset-react-native": "4.0.1",
"babel-plugin-import": "^1.11.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.49.2",
"react-test-renderer": "16.6.1"
},
"jest": {
"preset": "react-native"
}
}
The text was updated successfully, but these errors were encountered: