You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat <<EOT > modimport * as log from "https://deno.land/std/log/mod.ts";log.info("hello");EOT
deno run mod
Result
thread 'main' panicked at 'Cached source file doesn't exist', cli/global_state.rs:222:8
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
If there is no import statement, it will not be reproduced. (So it was even more confusing.)
It would be nice if we could read the error messages to see that the files specified in the deno run must have an extension.
The text was updated successfully, but these errors were encountered:
This is partially fixed in #7996 but I will need to revisit it to make sure we can support it fully. There are challenges with tsc with extension-less root modules that need to be addressed.
I found it difficult to understand the error message when the script file was created without the extension.
To Reproduce
Result
If there is no import statement, it will not be reproduced. (So it was even more confusing.)
It would be nice if we could read the error messages to see that the files specified in the deno run must have an extension.
The text was updated successfully, but these errors were encountered: