-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
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
AccessbilityInfo error from react-native 0.56 #20204
Labels
Resolution: Locked
This issue was locked by the bot.
Comments
same here |
Me too |
1 similar comment
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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
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
Description
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
fromC:\RN\TESTProject\node_modules\react-native\Libraries\react-native\react-native-implementation.js
: ModuleAccessibilityInfo
does not exist in the Haste module mapThis might be related to #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-*
ornpm start -- --reset-cache
. 4. Remove haste cache:rm -rf /tmp/haste-map-react-native-packager-*
.at ModuleResolver.resolveDependency (C:\RN\TESTProject\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:167:1306)
at ResolutionRequest.resolveDependency (C:\RN\TESTProject\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:80:16)
at DependencyGraph.resolveDependency (C:\RN\TESTProject\node_modules\metro\src\node-haste\DependencyGraph.js:237:485)
at Object.resolve (C:\RN\TESTProject\node_modules\metro\src\lib\transformHelpers.js:116:25)
at dependencies.map.result (C:\RN\TESTProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:298:29)
at Array.map ()
at resolveDependencies (C:\RN\TESTProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:294:16)
at C:\RN\TESTProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:159:33
at Generator.next ()
at step (C:\RN\TESTProject\node_modules\metro\src\DeltaBundler\traverseDependencies.js:239:307)
BUNDLE [android, dev] ....../index.js ░░░░░░░░░░░░░░░░ 1.1% (2/19), failed.
react-native version
react-native-cli: 2.0.1
react-native: 0.56.0
Package
The text was updated successfully, but these errors were encountered: