[Packager] Cannot read property 'root' of null
See original GitHub issueHello, I tried to update react-native or reinstalled it but no positive effect. This happens right after launching the app. Does anyone has more info on this ? Thanks
TypeError: Cannot read property 'root' of null
at /Users/isasportas/Projects/canalplus/iOS/RemoteX1/node_modules/react-native/packager/react-packager/src/DependencyResolver/crawlers/index.js:16:84
at tryCallOne (/Users/isasportas/Projects/canalplus/iOS/RemoteX1/node_modules/react-native/node_modules/promise/lib/core.js:37:12)
at /Users/isasportas/Projects/canalplus/iOS/RemoteX1/node_modules/react-native/node_modules/promise/lib/core.js:103:15
at flush (/Users/isasportas/Projects/canalplus/iOS/RemoteX1/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js:50:29)
at process._tickCallback (node.js:355:11)
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:62 (17 by maintainers)
Top Results From Across the Web
Cannot read property 'root' of null React Native iOS
React packager ready. Failed to build DependencyGraph: Watchman error: Cannot read property 'root' of null. Make sure watchman is running ...
Read more >cannot read properties of null (reading 'package') - You.com
The error message means that npm is trying to read the version property of the folder's package.json file but doesn't find the file....
Read more >Cannot read property 'subscribe' of undefined - ng-mocks
Highly likely, this means that under the hood the kept module is using a root provider which has been mocked, because ng-mocks mocks...
Read more >Cannot read property 'root' of null 解决方法_NSNirvana的博客
运行一个ReactNative程序,结果出现这种情况.. ... React packager ready. [11:25:37] <START> fs crawl. TypeError: Cannot read property 'root' ...
Read more >ember test throw error - Cannot read property 'tagName' of ...
I think the thing to look into is what is going on at that line in your vendor.js . From the stack trace...
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 Free
Top 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
I’ve bought a new MacBook Pro and the problem fixed.
Ah, good tip @chirag04: updating watchman (
brew update
andbrew upgrade watchman
) fixed this issue for me.