React Native Environment Info:
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 6.59 GB / 11.91 GB
Binaries:
Yarn: yarn install v0.27.5
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.64s. - C:\Users\Jayric Mok\AppData\Roaming\npm\yarn.CMD
npm: 6.1.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.1.0.0 AI-173.4720617
I tried to create a new react native project v 0.56, but stuck at this error when metro bundle starting.
Loading dependency graph, done.
error: bundling failed: Error: Unable to resolve module AccessibilityInfo from C:\RN\TESTProject\node_modules\react-native\Libraries\react-native\react-native-implementation.js: Module AccessibilityInfo does not exist in the Haste module map
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
watchman watch-del-all.node_modules folder: rm -rf node_modules && npm install.rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache. 4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.react-native-cli: 2.0.1
react-native: 0.56.0
{
"name": "TESTProject",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.4.1",
"react-native": "0.56.0"
},
"devDependencies": {
"babel-jest": "23.4.0",
"babel-preset-react-native": "5",
"jest": "23.4.1",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}
same here
Me too
Me too
Duplicate of #19953
me too
same here would anybody find the solution for it?
I found a way. "react-native": "^0.56.0" => "react-native": "^0.55.4" in package.json
Most helpful comment
same here would anybody find the solution for it?