If a target name contains a slash, parcel fails with a hard-to-diagnose error message #9001
Labels
🐛 Bug
Good First Issue
🙏 Help Wanted
Stale Ignore
This issue is exempt from getting flagged as stale and autoremoved
A valid target would look like this in package.json:
When an accident is made using string replace and it looks like this instead:
Parcel fails with the quite unhelpful error message:
Expected behavior: better error message
I figured it out by adding console.log statements to parcel. in EntryRequest in @parcel/core keyPath is built like this
which became very weird due to my accidental added slashes.
Sorry for not filling out the issue template I wanted to be quick, lmk if it's too terrible
The text was updated successfully, but these errors were encountered: