-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Description
Here is the source file:
// test.ts
import * as foo from "npm:@foo";
Output of RUST_BACKTRACE=1 deno run --unstable -A test.ts
Platform: linux x86_64
Version: 1.26.0
Args: ["deno", "run", "--unstable", "-A", "test.ts"]
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Not a valid package: @foo', cli/graph_util.rs:86:59
stack backtrace:
0: rust_begin_unwind
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
2: core::result::unwrap_failed
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/result.rs:1814:5
3: deno::graph_util::GraphData::add_graph
4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
6: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
8: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
10: deno::run_command::{{closure}}
11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
12: deno::main::{{closure}}
13: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
14: deno_runtime::tokio_util::run_local
15: deno::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.