Cannot read property 'getEntryByPath' of undefined
See original GitHub issueExpected Behaviour
Better feedback on what failed.
Actual Behaviour
Not enough information to ascertain where the issue is.
TypeError: Cannot read property 'getEntryByPath' of undefined
at Object.fileExists (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:107655:39)
at Object.fileExists (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:78971:791)
at getDirectoryOrExtensionlessFileName (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:81877:26)
at tryGetModuleNameAsNodeModule (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:81868:35)
at getGlobalModuleSpecifier (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:81672:20)
at /Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:81655:88
at Object.mapDefined (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:2172:30)
at Object.getModuleSpecifiers (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:81655:29)
at getNameOfSymbolAsWritten (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:30239:81)
at symbolToTypeNode (/Users/atrauzzi/Development/project/node_modules/typescript/lib/typescript.js:30009:32)
Steps to Reproduce the Problem
Run the local webpack development server.
Happy to answer any specific questions beyond the basic issue template. I apologize, this is a private repository and part of the issue here is that the error isn’t giving me enough information to create a subset/repro repository in the first place.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
TypeError: Cannot read property 'getEntryByPath' of undefined
I can't get styleguidist to compile with react-docgen-typescript . An error keeps on getting thrown: TypeError: Cannot read property ...
Read more >TypeError: Cannot read property 'kind' of undefined at ...
This problem started to occur when updating my Angular 6 project to 7.x. I opened an issue on the angular-cli github repo but...
Read more >TypeError: Cannot read property 'kind' of undefined at ... - Dirask
I have got following error during my TypeScript project compilation into single file: I run my project with: tsconfig.prod.json file looks following way:...
Read more >Cannot read property 'name' of undefined, at Array.forEach
TypeError : Cannot read property 'name' of undefined, at Array.forEach. When I press the button to display the task pane, I am seeing...
Read more >无法读取未定义的属性, 未捕获的类型错误 - 免费编程教程
抱歉,如果这已经被回答。我有一个Angular 服务……但是v9.2.9 抛出``` TypeError: Cannot read property 'getEntryByPath' of undefined ``` 根据microsoft/TypeScript# ...
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
Upgrading to typescript
3.x
resolves this for me.This seems to be acknowledged upstream, so I’ll close here. We can continue any relevant discussion here if it comes up and maybe reopen if it’s still an issue after TS
3.x