We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the following code:
await import("" + "npm:got");
I get:
➜ git:(v3) ✗ deno run foo.mjs error: Uncaught (in promise) TypeError: Loading unprepared module: npm:got, imported from: file:///Users/xxx/v/val.town/foo.mjs await import("" + "npm:got"); ^ at async file:///Users/xxx/v/val.town/foo.mjs:1:1
This works without the "", but if I try to avoid static analysis of the import, it doesn't seem possible to import npm: packages.
""
npm:
The text was updated successfully, but these errors were encountered:
@dsherret please take a look
Sorry, something went wrong.
fix: support importing statically unanalyzable npm specifiers (#24107)
a013b91
Closes #20479 Closes #18744
Successfully merging a pull request may close this issue.
With the following code:
I get:
This works without the
""
, but if I try to avoid static analysis of the import, it doesn't seem possible to importnpm:
packages.The text was updated successfully, but these errors were encountered: