Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Panic on 'deno install npm:@univerjs/core' #26006

Closed
kylehendricks opened this issue Oct 3, 2024 · 0 comments · Fixed by #26022
Closed

Panic on 'deno install npm:@univerjs/core' #26006

kylehendricks opened this issue Oct 3, 2024 · 0 comments · Fixed by #26022
Labels
bug Something isn't working correctly node compat node resolution

Comments

@kylehendricks
Copy link

When trying to run deno install npm:@univerjs/core I get a panic. Confirmed to happen on mac 1.46.3 and 2.0.0-rc9 and 1.44.3 on linux (nixos).

Platform: linux x86_64
Version: 1.44.3
Args: ["deno", "install", "npm:@univerjs/core"]

thread 'main' panicked at /build/deno-1.44.3-vendor.tar.gz/deno_npm/src/resolution/graph.rs:1352:36:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: deno_npm::resolution::graph::GraphDependencyResolver<TNpmRegistryApi>::set_new_peer_dep
   5: deno_npm::resolution::snapshot::NpmResolutionSnapshotPendingResolver<TNpmRegistryApi>::add_pkg_reqs::{{closure}}
   6: deno::npm::managed::ManagedCliNpmResolver::add_package_reqs_raw::{{closure}}
   7: <deno::resolver::WorkerCliNpmGraphResolver as deno_graph::source::NpmResolver>::resolve_pkg_reqs::{{closure}}
   8: deno_graph::graph::Builder::fill::{{closure}}
   9: deno_graph::graph::ModuleGraph::build::{{closure}}
  10: deno::graph_util::ModuleGraphBuilder::build_graph_with_npm_resolution::{{closure}}
  11: deno::module_loader::ModuleLoadPreparer::prepare_module_load::{{closure}}
  12: deno::graph_container::MainModuleGraphContainer::check_specifiers::{{closure}}
  13: deno::graph_container::MainModuleGraphContainer::load_and_type_check_files::{{closure}}
  14: deno::spawn_subcommand::{{closure}}
  15: <deno_unsync::task::MaskFutureAsSend<F> as core::future::future::Future>::poll
  16: tokio::runtime::task::raw::poll
  17: deno::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working correctly node compat node resolution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants