Closed
Description
Is this a bug report?
Feels like it is a bug.
Environment
react-native -v
:react-native-cli: 2.0.1 react-native: 0.46.4
node -v
:v8.1.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
.