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
Examples like "https://jsr.io/@std/dotenv/doc/~/load#example_1..." don't work out of the box and give error messages with insufficient guidance:
error: Relative import path "@std/dotenv/load" not prefixed with / or ./ or ../ at file:///Users/rbetts/code/test-env/hello.ts:2:8
We should improve the CLI error message to tell people how to resolve the problem ("add the registry specifier or use deno add")?
deno add
Further, naively attempting deno add @std/dotenv/load produces a confusing error message that doesn't include guidance:
deno add @std/dotenv/load
Created deno.json configuration file. error: Failed to parse package required: @std/dotenv/load Caused by: 0: Invalid package requirement '@std/dotenv/load'. Invalid version requirement. Invalid specifier version requirement. Unexpected character '/' /load ~ 1: Invalid version requirement. Invalid specifier version requirement. Unexpected character '/' /load ~ 2: Invalid specifier version requirement. Unexpected character '/' /load ~ 3: Unexpected character '/' /load ~
The text was updated successfully, but these errors were encountered:
Moved out the second point to #25385
Sorry, something went wrong.
acd01eb
Successfully merging a pull request may close this issue.
Examples like "https://jsr.io/@std/dotenv/doc/~/load#example_1..." don't work out of the box and give error messages with insufficient guidance:
We should improve the CLI error message to tell people how to resolve the problem ("add the registry specifier or use
deno add
")?Further, naively attempting
deno add @std/dotenv/load
produces a confusing error message that doesn't include guidance:The text was updated successfully, but these errors were encountered: