Skip to content
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

Bundling failed: Error: unable to resolve module 'accessbilityInfo' #20241

Closed
3 tasks done
karthikgk opened this issue Jul 17, 2018 · 3 comments
Closed
3 tasks done

Bundling failed: Error: unable to resolve module 'accessbilityInfo' #20241

karthikgk opened this issue Jul 17, 2018 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@karthikgk
Copy link

karthikgk commented Jul 17, 2018

This might be related to #4968
To resolve

  • Clear watchman watches: 'watchman watch-del-all'
  • delete the 'node_modules' folder: 'rm -rf node_modules && npm install'
  • Reset metro blunder cache

Environment

react-native-cli: 2.0.1
react-native: 0.56.0
node : v8.11.2
npm : 5.6.0
Windows : 10

Description

I am new to React native. i just follow the steps given in the following URL https://habiletechnologies.com/blog/getting-started-react-native-complete-setup-guide/.

When i was trying to navigate one page to another page, i got the above issue. I couldn't overcome this for the past two days. Please help me to solve the issue

Package.Json

{
"name": "TestApp",
"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.0.2",
"jest": "23.4.1",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}

@react-native-bot
Copy link
Collaborator

It looks like your issue may be missing some necessary information. Can you run react-native info and edit your issue to include these results under the Environment section?

@zain-merchant
Copy link

This is a known issue with 56.0. If you downgrade react-native to 55.4 and babel-preset-react-native to 4.0 it should work.

@kelset
Copy link
Contributor

kelset commented Jul 19, 2018

Duplicate of #19953

@kelset kelset marked this as a duplicate of #19953 Jul 19, 2018
@kelset kelset closed this as completed Jul 19, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants