【bug】TypeError: Cannot read property 'type' of null
See original GitHub issuethe following line has some exception when node
is null
function isExportNameClass(node) { return node.type === ‘ExportNamedDeclaration’ && node.declaration.type === ‘ClassDeclaration’; }
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:6 (3 by maintainers)
Top Results From Across the Web
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 >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 >Solve - Cannot read property 'click' of Null in JavaScript
The "Cannot read property 'click' of null" error occurs when trying to call the click method on a null value. To solve the...
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 >
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
@maxmilton see #2077; that will be resolved shortly.
This issue will be fixed by https://github.com/benmosher/eslint-plugin-import/commit/8d7ec179c2ba2672d4d06200166ab64e1821527c, https://github.com/benmosher/eslint-plugin-import/commit/dd0e8cbcb489c1c0f111444627c4db5b3dfd5bed