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

Deno panic when running modules from jsr.io via https specifiers #23697

Closed
cotyhamilton opened this issue May 4, 2024 · 1 comment
Closed
Assignees
Labels
duplicate a duplicate of another issue

Comments

@cotyhamilton
Copy link

Version: Deno 1.43.1

not working 1 (jsr)

deno run -A https://jsr.io/@cotyhamilton/deno-tools/0.1.4/bump.ts --dry

============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: macos aarch64
Version: 1.43.1
Args: ["deno", "run", "-A", "https://jsr.io/@cotyhamilton/deno-tools/0.1.4/bump.ts", "--dry"]

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_graph-0.74.3/src/packages.rs:217:8:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

not working 2 (jsr)

deno run -A https://jsr.io/@std/http/0.224.0/file_server.ts

============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: macos aarch64
Version: 1.43.1
Args: ["deno", "run", "-A", "https://jsr.io/@std/http/0.224.0/file_server.ts"]

thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_graph-0.74.3/src/packages.rs:217:8:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

working 1 (localhost)

deno run -A http://localhost:5500/bump.ts --dry
{"oldVersion":"0.1.1","newVersion":"0.1.2"}

working 2 (deno.land/x)

deno run -A https://deno.land/std/http/file_server.ts
Listening on:
- Local: http://localhost:4507
- Network: http://10.0.0.160:4507
@bartlomieju bartlomieju added the bug Something isn't working label May 4, 2024
@dsherret dsherret changed the title Deno panic when running modules from jsr.io Deno panic when running modules from jsr.io via https specifiers May 6, 2024
@dsherret dsherret added duplicate a duplicate of another issue and removed bug Something isn't working labels May 6, 2024
@dsherret
Copy link
Member

dsherret commented May 6, 2024

Duplicate of #23644

@dsherret dsherret marked this as a duplicate of #23644 May 6, 2024
@dsherret dsherret closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants