Deno v2 deno install not installing all dep files
Hey, trying to create a docker image using deno v2 where i install dependencies before copying source files like
But i am running into a problem when i run the image i get an error:
My deno.json file looks like
What could be the issue? i am under the impression that
deno install
would install all files from all deps7 Replies
Another version of the above issue and a bit more weird i think is, i have this deno project:
Where if i run
deno install && deno run --cached-only main.ts
all goes well but if i do deno install && deno compile --cached-only main.ts
i get the error
What could be triggering this inconsistencies? i am expecting that both deno run --cached-only and deno compile --cached only to be able to run successfully.Does it work correctly if you do
deno compile
without --cached-only
?i am interesting too, to know details
without --cached-only it does work, i get the downloading log and it finishes ok. it just feels weird that it has do download more stuff after a deno install has been issued, am i wrong on this assumption?
It seems like a bug. A GitHub issue would be helpful here also we can fogu4e out what's wrong
will do thx
GitHub
deno install
does not cache all dep files. · Issue #26180 · denol...Hi, Given the following deno.json file { // ... "lock": { "frozen": true }, "imports": { "@david/dax": "jsr:@david/dax@0.42.0", "@std/cli"...