Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compat mode doesn't work with "deno eval" #13002

Closed
bartlomieju opened this issue Dec 6, 2021 · 0 comments · Fixed by #15678
Closed

compat mode doesn't work with "deno eval" #13002

bartlomieju opened this issue Dec 6, 2021 · 0 comments · Fixed by #15678
Labels
bug Something isn't working correctly node compat

Comments

@bartlomieju
Copy link
Member

bartlomieju commented Dec 6, 2021

deno eval --unstable --compat ""
...
error: [ERR_MODULE_NOT_FOUND] Cannot find module "file:///Users/biwanczuk/dev/deno/$deno$eval.js" imported from "file:///Users/biwanczuk/dev/deno"

Node resolver is not aware of in-memory files used when running deno eval subcommand.

Caused by: #12882

The problem didn't happen before, because for subcommands that did not use module graph (like deno eval) Node resolution was never applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant