Errors should tell me _where_ the error is
See original GitHub issueš bug report
I get errors stating a problem, but not where it was encountered.
$ npx parcel build index.html things/**/index.html
(This one was a left-over unpkg.com import in a JS file)
(This one was in a SVG file. Gonna file another bug for this)
š Your Environment
| Software | Version(s) |
|---|---|
| Parcel | 2.0.0-beta.1 |
| Node | v14.9.0 |
| npm/Yarn | npm@6.14.9 |
| Operating System | MacOS 10.15.7 |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Tired of Error Messages? You Shouldn't Be ā And Here's Why
Let's outline a couple of steps to take to solve any compiler errorsāerrors that print out to the console as you codeāthat you...
Read more >7 Types of Software Errors That Every Tester Should Know
In this article, we will be discussing common software errors and how to identify them during testing with examples and simple exercises.
Read more >The 7 Most Common Types of Errors in Programming and ...
Get better at spotting them early, but know you will never be perfect. Hopefully, this guide has prepared you for the different types...
Read more >Can I get Visual Studio 2019 to show me what line of code ...
this question really depends on the kind of error we are talking about. You could have a logic error in which the program...
Read more >Detect errors in formulas - Microsoft Support
You can use error checking to detect errors in formulas. The rules don't guarantee error-free worksheets, but they can help find common mistakes....
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

For terser, we use sourcemaps to convert the error location back to the source. But this isnāt always possible and there are furthermore no HTML sorucemapsā¦
But Iām convinced š -> https://github.com/parcel-bundler/parcel/issues/5477
Any chance you can post a reproduction?
Another one. It tells me line and character, but not which file.
I donāt know ā I guess thatās kind of the problem. Fwiw, unlike #5311, deleting
.parcel-cachedidnāt solve the issue here for me.