JoxJ
Denoβ€’3y agoβ€’
8 replies
Jox

Module not found when running deno run

Something weird has started happening.

When I run
deno run src/main.ts
it seems as if Deno is trying to run it from a completely bonkers file path.

error: Module not found "file:///Users/me/Projects/my-project/src/Users/me/Projects/my-project/src/main.ts".


I don't know what's happened and why it seems to append the Users folder twice.

Does anyone have any idea?
Was this page helpful?