#deno info returns module not found

10 messages · Page 1 of 1 (latest)

barren leaf
#

deno info is returning "module could not be found" for every remote module, and i'm unable to run any code that imports a remote module. i'm running on ubuntu 18

fewkz@FerrariAlpha:~$ deno info https://deno.land/x/[email protected]
Download https://deno.land/x/[email protected]
error: module could not be found
hasty tartan
#

iirc deno.land doesn't auto-redirect so you should add /mod.ts (or whatever the entry point for the module is) at the end

barren leaf
#

Oohh, I see, that kind of worked, it was able to find the module but now I'm getting these errors instead:

#

it seems like it's looking for .js files, instead of ts

hasty tartan
#

i'm not sure if those mean the file isn't there entirely or it just isn't cached

#

maybe wait for someone more experienced to answer

barren leaf
#

hm

#

i think it might just be an issue with the yaml package I'm trying to use

#

yeah, there's a github issue on the module about it, and I found the solution

finite prairie