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

Npm link cause "Unable to resolve module AccessibilityInfo " #15172

Closed
SiBorya opened this issue Jul 24, 2017 · 7 comments
Closed

Npm link cause "Unable to resolve module AccessibilityInfo " #15172

SiBorya opened this issue Jul 24, 2017 · 7 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@SiBorya
Copy link

SiBorya commented Jul 24, 2017

Is this a bug report?

Feels like it is a bug.

Environment

  1. react-native -v: react-native-cli: 2.0.1 react-native: 0.46.4
  2. node -v:v8.1.3
  3. npm -v:5.3.0
  • Target Platform: *

  • Development Operating System: macOS 10.12.5 & Windows 10 64bit

Steps to Reproduce

There is a RN Project A and Denpendency B.
B is abstracted from A, it works properly before.
Now B has a dependency on RN.
Project A install Dependency B using npm link ../B && npm install ../B --save.

Structure as below:
|--A
|--|--node_modules
|-------|--RN
|-------|--B
|----------|--node_modules
|---------------|--RN

Run with react-native start

Expected Behavior

Everything goes fine.

Actual Behavior

Error pops up as error: bundling failed: "Unable to resolve module "AccessibilityInfo" from "/path/to/A/node_modules/react-native/Libraries/react-native/react-native-implementation.js": Module does not exist in the module map.

@hramos
Copy link
Contributor

hramos commented Jul 24, 2017

Duplicate of #14209

@hramos hramos marked this as a duplicate of #14209 Jul 24, 2017
@hramos hramos closed this as completed Jul 24, 2017
@lucienbl
Copy link

lucienbl commented Jul 11, 2018

I don't know if someone told that before me but downgrading from 0.56.0 to 0.55.4 solved this issue for me. 😃

@Chris-90
Copy link

I don't think that it is a dublicate of an multiple years old issue. Because the only solution of the old issue was to downgrade version.
Downgrading is only a temporary fix, but no permanent solution.
The problem seems to be the same, it doesn't mean that reason is identacally, too.

@ronyoka
Copy link

ronyoka commented Jul 13, 2018

It seems the issue has been present in all kind of operating system and react version for years. And the support is very unprofessional...

@anothercoder2
Copy link

Same issue here. Did something change in the last two days?

@it-is-ilyas

This comment has been minimized.

@hramos
Copy link
Contributor

hramos commented Jul 16, 2018

Please submit a new issue, as this one is closed.

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

8 participants