Cannot build with react-native@0.43.1
See original GitHub issueGetting this error:
Loading dependency graph, done.
error: bundling: UnableToResolveError: Unable to resolve module `react-native/Libraries/Components/StaticContainer` from `/Users
/username/Documents/work/projectname/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js`: Module does no
t exist in the module map or in these directories:
/Users/username/Documents/work/projectname/node_modules/react-native/Libraries/Components
, /Users/username/node_modules/react-native/Libraries/Components
I performed a short research and found this renaming commit: https://github.com/facebook/react-native/commit/57daad98f01b59fce9cb9bf663fd0b191c56b232
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Could not find com.android.support:appcompat-v7:25.3.1
The issue seems to be related to react-native-fbsdk , but looking through its build.gradle it does not list support.appcompat-v7.25.x . Any ...
Read more >Integration with Existing Apps - React Native
React Native is great when you are starting a new mobile app from scratch. However, it also works well for adding a single...
Read more >Troubleshooting - React Native
These are some common issues you may run into while setting up React Native. If you encounter something that is not listed here, ......
Read more >React Native · Learn once, write anywhere
Create native apps for Android, iOS, and more using React. React Native combines the best parts of native development with React, a best-in-class...
Read more >Using react-devtools with React Native | by Brent Vatne
To use react-devtools with React Native, see this README: ... As of React Native 0.43 / React 16 alpha (Expo SDK 16), it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Loading dependency graph, done. error: bundling: UnableToResolveError: Unable to resolve module
react-native/Libraries/vendor/emitter/EventEmitterfrom
/Users/user1/Downloads/app/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js`: Module does not exist in the module map or in these directories: /Users/user1/Downloads/app/node_modules/react-native/Libraries/vendor/emitterThis might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
ornpm start -- --reset-cache
. at ResolutionRequest._resolveNodeDependency (/Users/user1/Downloads/app/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:394:11) at ResolutionRequest.resolveDependency (/Users/user1/Downloads/app/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:141:29) at dependencyNames.map.name (/Users/user1/Downloads/app/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:145:59) at Array.map (native) at ResolutionRequest.resolveModuleDependencies (/Users/user1/Downloads/app/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:145:42) at module.read.then (/Users/user1/Downloads/app/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:172:40) at process._tickCallback (internal/process/next_tick.js:109:7) Bundlingindex.ios.js
99.0% (833/837), failed.`i got this .
Unable to resolve module
react-native/Libraries/vendor/emitter/EventEmitter
from/Users/litao/Project/auto-market/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js
: Module does not exist in the module map or in these directories: /Users/litao/Project/auto-market/node_modules/react-native/Libraries/vendor/emitter