Open
Description
Describe the bug
Cannot compile or run a project with @std/dotenv
when using --no-remote
as it fails with following error.
error: JSR package manifest for '@std/dotenv' failed to load. A remote specifier was requested: "https://jsr.io/@std/dotenv/meta.json", but --no-remote is specified.
at file:///home/[REMOVED]/test_no_remote_dotenv/main.ts:1:8
Steps to Reproduce
Example
- Create deno project
deno init test_no_remote_dotenv
- Install dotenv package
deno add jsr:@std/dotenv
- Edit
main.ts
file and addimport "@std/dotenv/load";
line to start of the file - Run app using
deno run --no-remote main.ts
- See the error
Expected behavior
App runs without an error.
Environment
- OS: Arch Linux
- deno version: 2.2.1
- std version: @std/dotenv@^0.225.3