ThomasT
Deno3y ago
Thomas

Error with relativ import path after "deno install"

Is it possible that imports in deno.json are ignored after "deno install"?

deno run ./my-cli.ts

This works fine

deno install ./my-cli.ts

my-cli

But this throws an error:
error: Relative import path "std/fmt/colors.ts" not prefixed with / or ./ or ../
at .../handler.ts:1:29
Was this page helpful?