i am a newbe in react native i don't know what is going on with my apps the node said "error: bundling failed: ReferenceError: Module not registered in graph" please helpenter image description here
Asked
Active
Viewed 5,734 times
1 Answers
17
This error usually occurs when you install a new module (while packager is open). Firstly you can try close your packager and run react-native run-ios. If this approach does not help, you can try delete node modules directory and npm install again. But i believe first approach will work.
sdkcy
- 3,528
- 1
- 16
- 23
-
Fixed it for me. I was getting this error because i created a new folder with new index.js in there, and for some reason whenever I do this I need to restart packager. – Noitidart Apr 10 '19 at 16:57
-
Starting the bundler with `--reset-cache` should resolve this. In my case that means `yarn start --reset-cache` – Nigel Apr 18 '19 at 01:47
-
I have killed my terminal and rebuild the app (react-native run-android). It resolved this problem. – Yoga Aug 15 '19 at 10:29