-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parcel crashes with Error: ENOENT: no such file or directory,
when using --detailed-report
#7816
Comments
Got the same Issue on Windows 10, node v17.8.0, npm 8.5.5, parcel 2.4.0 & 2.4.1. I also use Hint: The build itself works fine, just the error appears instead of a detailed report. |
The detailed report uses source maps to determine the file sizes of each file contained within a bundle. This could potentially happen if a source map refers to a file that doesn't actually exist. I guess we should check that and gracefully fall back somehow? |
The project is entirely clean though. No old cache files. The development mode works fine. It's just the build that throws an error. I'll try to reproduce it with a demo project and send you the code. |
@kai-dorschner-twinsity Did you try the reproduction project that I attached as .zip in the original issue body? It might be enough. |
This is probably be related to #7813 (comment) if |
I tried it now, breaks as expected. |
Lmao, what?? I just upgraded to It happens on I tried to upgrade the reproduction but got
And don't care about debugging that so it might be fixed or something makes that I don't hit it anymore in my prod repo. Would love to hear what could have fixed it and if you also don't have it anymore on 1035 @kai-dorschner-twinsity |
In my project I use Parcel |
Ok and if you set it to |
Kai, have you checked the reproduction project that I attached as a zip to the original issue? I think it might suffice.
… 4 apr. 2022 kl. 10:04 skrev Kai Dorschner ***@***.***>:
The project is entirely clean though. No old cache files. The development mode works fine. It's just the build that throws an error. I'll try to reproduce it with a demo project and send you the code.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Hi, I often get this error when using Sometimes the only solution is to do I'm on parcel |
Same issue for me. The bigger the code-base gets the worse this problem becomes.
I'm using workspaces defined as follows:
This is my start command: Edit: My coworkers can confirm it happens on MacOS, too |
Any news on that issue? |
I've had the same problem for days and can't find a solution. Very frustrating, hardly possible to work normally |
Same- I've had this problem too. I feel let down by Parcel- it's very frustrating, and I am not very happy with Parcel. Please, please fix this issue- I can't do anything without constantly rebuilding manually. What's the point of |
@IMGROOT2 have you tried removing |
And specifically:
|
This is my issue. It's quite random, however. Some days, everything will go smoothly, and on other days, it'll crash after building once. |
Same here! |
Same issue |
Same here! |
same problem for months now... so annoying |
I have the same issue. |
Same issue on Ubuntu, but not on Mac 🤷 |
Same problems here on windows that occurs very frequently... |
Same on Windows 11. Using Node.js v20.9.0 and parcel 2.11.0 in a clean project.
|
Also getting this error on W10. Not sure if it's relevant but I started the project on MacOS where I had zero issues. |
Same here. Errors every few minutes on Windows 11. But with the same project on MacOS, not a single one. |
For me the same on windows 11.. |
Is this project still alive? A basic feature like watch is not working and this issue is open for a year... |
Until Parcel can resolve this error, I think Vite is the easiest alternative right now. |
Sol. on stackoverflow, i had same issue, now works: Delete .parcel-cache and dist folders and run command again. (NB: The cache folder was called just .cache in version 1.x of Parcel.) |
This is still an issue and happens constantly even when fully disabling cache. |
This just helped me, thanks @realrolo |
I find that bad Error output
|
🐛 bug report
The following command:
parcel build --detailed-report 40 src/main.ts
makes parcel crash🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
Parcel should build successfully
😯 Current Behavior
💁 Possible Solution
Dunno 🤷♂️
🔦 Context
Updated my dependencies to figure out if it fixes babel/babel#14345.
After installing
process
and figuring out that my builds randomly fail because I'm missingIn my package.json
I got this error and narrowed it down to
--detailed-report
💻 Code Sample
parcel-error.zip
Run
yarn install
andyarn build
🌍 Your Environment
The text was updated successfully, but these errors were encountered: