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 has panicked loading native certs #27528

Closed
aminehochlef opened this issue Jan 2, 2025 · 1 comment · Fixed by #27863
Closed

Deno has panicked loading native certs #27528

aminehochlef opened this issue Jan 2, 2025 · 1 comment · Fixed by #27863
Labels

Comments

@aminehochlef
Copy link

I wanted to add a new quarto extension to my project with this command :

quarto add mcanouil/quarto-iconify

As a result, I get this error :
$ quarto add mcanouil/quarto-iconify

============================================================
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: windows x86_64
Version: 1.46.3
Args: ["C:\Users\aminhochlef\AppData\Local\Programs\Quarto\bin\tools\x86_64\deno", "run", "--unstable-kv", "--unstable-ffi", "--no-config", "--cached-only", "--no-lock", "--allow-all", "--v8-flags=--enable-experimental-regexp-engine,--max-old-space-size=8192,--max-heap-size=8192", "--importmap", "C:\Users\aminhochlef\AppData\Local\Programs\Quarto\bin\vendor\import_map.json", "C:\Users\aminhochlef\AppData\Local\Programs\Quarto\bin\quarto.js", "add", "mcanouil/quarto-iconify"]

thread 'main' panicked at cli\args\mod.rs:681:41:
could not load platform certs: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@dsherret
Copy link
Member

dsherret commented Jan 2, 2025

Try running with DENO_TLS_CA_STORE=mozilla maybe.

let roots = load_native_certs().expect("could not load platform certs");

@dsherret dsherret changed the title Deno has panicked. Deno has panicked loading native certs Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants