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

Has AccessibilityInfo Error when build ios #14220

Closed
Kennytian opened this issue May 27, 2017 · 4 comments
Closed

Has AccessibilityInfo Error when build ios #14220

Kennytian opened this issue May 27, 2017 · 4 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Kennytian
Copy link

good work on react-native-router-flux v3.39.1 + react-native v0.44.1 + react v16.0.0-alpha.6

Version

Tell us which versions you are using:

react-native-router-flux v3.39.1
react-native v0.44.2
react v16.0.0-alpha.6
Expected behaviour

Build successfully.

Actual behaviour
Go error

error: bundling: UnableToResolveError: Unable to resolve module AccessibilityInfo from /Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/Libraries/react-native/react-native-implementation.js: Module does not exist in the module map or in these directories:
/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/node_modules
, /Users/kenny/projects/work/nutfin/almondWallet/node_modules

This might be related to #4968
To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache.
    at UnableToResolveError (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:525:5)
    at ResolutionRequest._resolveNodeDependency (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:394:11)
    at tryResolveSync (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:136:20)
    at tryResolveSync (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:66:12)
    at ResolutionRequest.resolveDependency (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:134:22)
    at dependencyNames.map.name (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:145:59)
    at Array.map (native)
    at ResolutionRequest.resolveModuleDependencies (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:145:42)
    at module.read.then (/Users/kenny/projects/work/nutfin/almondWallet/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:172:40)
    at process._tickCallback (internal/process/next_tick.js:109:7)
    Bundling index.ios.js 98.7% (599/603), failed.

same issues from aksonov/react-native-router-flux#1903

@hramos
Copy link
Contributor

hramos commented May 30, 2017

Hey, thanks for reporting this issue!

It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

@hramos hramos closed this as completed May 30, 2017
@sillybill
Copy link

any solutions?

@rajatyadav
Copy link

rajatyadav commented Nov 17, 2017

Looking for solution of the same problem.

@karna41317
Copy link


"react-native": "^0.47.2",
"react-dom": "16.0.0-alpha.12",
"react": "16.0.0-alpha.12",

Cleared cache,
rm -rf node-modules, npm install
yarn cache clean, yarn start

Still same, local builds OKay, but when i build on build server, i get this issue,

Also i am not using react-native-router-flux.

this is something to do with react-native,

this bug stopping everyone in my team. ready to provide more info

@facebook facebook locked as resolved and limited conversation to collaborators May 30, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
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

6 participants