Closed endbr64 closed 1 week ago
cargo run -- serve
tangram.ts
packages
The lockfile.nodes is empty in find_node_in_lockfile(), probably because some path lookup fails (probably because of ./). Added a check for this in #335 that will at least stop us from panicking.
lockfile.nodes
find_node_in_lockfile()
./
cargo run -- serve
tangram.ts
in the editor.packages
on line 19.logs
[dmitriy@ymir:~/work/git/tangram]$ cargo run -- serve Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s Running `target/debug/tangram serve` 2024-11-14T19:23:47.430153Z INFO tangram_server: listening on http+unix://%2Fhome%2Fdmitriy%2F.tangram%2Fsocket at packages/server/src/lib.rs:445 2024-11-14T19:23:59.482441Z INFO tangram_server::compiler::syscall::log: NG0 { "message": "failed to resolve specifier relative to the module", "location": { "symbol": "tangram_server::compiler::syscall::module::resolve::{{closure}}::{{closure}}", "source": { "kind": "internal", "value": "./packages/server/src/compiler/syscall/module.rs" }, "line": 32, "column": 4 }, "stack": undefined, "source": NG0 { "message": "failed to find lockfile", "location": { "symbol": "tangram_server::compiler::resolve::