TypeError: Cannot read property 'type' of null
See original GitHub issueI got this error, don’t know why yet (checking and will update when i know what caused it)
.../node_modules/async-to-gen/index.js:451
if (node && typeof node === 'object' && (node.type || node.length && node[0].type)) {
^
TypeError: Cannot read property 'type' of null
Probably a good idea to check if node[0].type
exists and throw if it doesn’t 😬 with a possible cause (once i’ve found out what caused this) 💭
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'type' of null - Stack Overflow
I resolve it by installing the @angular/cdk 8.0.0 version. When I installed 8.2.3, as build would report error as Cannot read property 'type'...
Read more >Uncaught TypeError: Cannot read property of null - iDiallo
This error occurs when you read a property or call a method on a null object . That's because the DOM API returns...
Read more >Improve error message: TypeError: Cannot read property 'type ...
If library-b is installed that way, then ng build library-a fails with "Cannot read property 'type' of null" (only if components are listed...
Read more >How to deal with TypeError: cannot read properties of null
While coding in Javascript, you must have at least once received a Type Error which has the message “cannot read properties of null”....
Read more >How to Avoid the Infamous "Cannot read properties of ... - Bitovi
That error message is telling you the function is returning undefined implicitly, but its return type does not include undefined in it. Awesome!...
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
Yikes, thanks for the report!
Confirmed, works 🎉 thanks for fast fix!