-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
deno fetch fails when destination path can be file also directory #2790
Comments
Panics here: Lines 380 to 386 in 4faab6a
Unexpected failing here: Line 479 in 4faab6a
https://dev.jspm.io/npm:[email protected]?dew does not do any redirect. Instead it just serves a file. Thus in the cache file This feels more like the Maybe we should provide a fallback such that when we have a filename vs directory name collision, we move the file (thus making room for the directory) to another name which could still be accessed (e.g. Another side problem I notice here is that we do not put query params into cache paths (e.g. trailing |
@kevinkassimo nice catch! There is already an issue for that, ref #2763 |
@kevinkassimo Thank you. I think this is quite difficult problem. One simple solution is to store file flatly with full url sha hash (without subdirectories). But this idea seems to have some inconvenience. |
Fixed in #4030, pending |
I don't know precisely what is going on, but something goes wrong..
Content of
~/Library/Caches/deno/deps/https/dev.jspm.io/npm:[email protected]
is:but
~/Library/Caches/deno/deps/https/dev.jspm.io/npm:[email protected]
is DIRECTORYThis may occur when there are two url modules like these:
The text was updated successfully, but these errors were encountered: