question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typo in dependencies results in a undescriptive error message

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ssumancommented, Jul 31, 2017

I would like to work on this PR.

1reaction
sokracommented, Oct 16, 2017

closed by #5651

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found