$ deno run npm:svelte-check
error: Module not found "file:///home/berzi/projects/myproj/home/berzi/.cache/deno/npm/registry.npmjs.org/svelte-check/4.3.1/bin/svelte-check".
- Any other
deno runcommand with a dependency fails similarly. deno runwith a HTTP URL likedeno run https://docs.deno.com/examples/scripts/hello_world.tsworks fine.- I have no explicitly set
DENO_DIRorDENO_INSTALL_DIR. - I already tried
deno clean. - In the path in the error, what strikes me as sus is that
/home/berziappears twice, once at the start (seems correct), and once after themyprojdirectory (seems weird: I obviously don't have my home dir there). Since I don't set any cache dir or anything, I don't know why Deno would look in that weird path.
For clarity, my $HOME also isn't set to anything weird that could make the path be interpreted as relative:
$ echo $HOME
/home/berzi
Any ideas?