Typo in dependencies results in a undescriptive error message
See original GitHub issueThis is a bug report in webpack 3.4.1 (and webpack@beta).
What is the current behavior?
In the following gist there are two configs, one depending on another. If you provide an incorrect dependency name, the error message is Cannot read property 'hash' of null
, which does not describe the root cause of the issue and makes it difficult to debug.
If the current behavior is a bug, please provide the steps to reproduce.
https://gist.github.com/nemtsov/b1df26c3ed6025879590e34c399f9f2a
What is the expected behavior?
An error message that describes the root cause, e.g., Undefined dependency "commonBAD" in "build/a.js"
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Typo - Universal Dependencies
Indicates an erroneous or typographically unexpected word form. Most unexpected spellings are typographical errors (inadvertent on the part of the author).
Read more >types in transitive dependencies causing errors after upgrade ...
TypeScript Version: 3.4.3. Search Terms: transitive dependency inferred type cannot be named without a reference. Code.
Read more >My Favourite Git Commit - Hacker News
Fix = Fix an issue e.g. bug, typo, accident, misstatement. Bump = Increase the version of something e.g. dependency.
Read more >c# - Validation that also returns error messages
My Create , Update and Delete methods should return a success and errors list depending up on the result. I want to avoid...
Read more >Why TSC shows the errors on dependency module typings
This is an easy fix to the notorious "lodash/index.d.ts(13154,53): error TS2344: Type 'T'" error that so many projects are getting as a result ......
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 would like to work on this PR.
closed by #5651