DenoDDeno
Powered by
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
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".
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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

deno info returns module not found
Sabah KaldwinSSabah Kaldwin / help
3y ago
Deno.zip not found
kerrKkerr / help
2y ago