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
2.0.0-rc.10
import a from "./deno.json" with { "type":"json" };
Uncaught TypeError: Attempted to load JSON module without specifying "type": "json" attribute in the import statement. at async <anonymous>:1:47
The JSON file should load correctly when specifying "type": "json" in the import statement in Deno REPL.
"type": "json"
import
The error occurs despite specifying the "type": "json" attribute in the import statement.
import a from "./deno.json" with { "type": "json" };
The text was updated successfully, but these errors were encountered:
Ref denoland/deno_ast#279
Sorry, something went wrong.
20ae8db
Successfully merging a pull request may close this issue.
Deno Version:
2.0.0-rc.10
Environment:
Error Message:
Expected Behavior:
The JSON file should load correctly when specifying
"type": "json"
in theimport
statement in Deno REPL.Actual Behavior:
The error occurs despite specifying the
"type": "json"
attribute in theimport
statement.Steps to Reproduce:
Additional Information:
2.0.0-rc.10
).The text was updated successfully, but these errors were encountered: