-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
AlreadyExists panic/Not a directory exception while bundling #3776
Comments
This is not just happening during bundle but also during normal runs. The main problem here is that HTTP imports are cached locally using directory structure, without taking query into consideration and possibility of having file/directory of same name ... Notice that
However at least I don't think we should hard-crash here. I'll do a simple patch to at least print a nicer error message. |
Fixed in #4030, pending |
I'm attempting to bundle a React app with
deno
and am running into a strange backtrace if I run it with an empty cache.If I then run the command again immediately, I don't get a Rust exception, but I get a normal pretty exception.
Unfortunately, neither exception appears to give me any details as to what file path it's having issues with, or why it's having an issue with the file path in the first place.
The text was updated successfully, but these errors were encountered: