Deno: dependency graph broken

Created on 25 Jan 2020  路  3Comments  路  Source: denoland/deno

> deno -V
deno 0.31.0
> deno info https://deno.land/std/http/file_server.ts
local: /Users/rld/Library/Caches/deno/deps/https/deno.land/std/http/file_server.ts
type: TypeScript
compiled: /Users/rld/Library/Caches/deno/gen/https/deno.land/std/http/file_server.ts.js
map: /Users/rld/Library/Caches/deno/gen/https/deno.land/std/http/file_server.ts.js.map
deps: cannot retrieve full dependency graph
bug

All 3 comments

Hmmm... surprised we don't have a test for that. :confused:

Actually we have two integration tests for that command, both of them passed...

Okay so it's caused by the fact that Deps get unresolved specifiers for child imports. Partially because some APIs in core/modules.rs take specifier argument that is of type &str instead of ModuleSpecifier - otherwise it would have been caught. I'll fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidbarratt picture davidbarratt  路  3Comments

ry picture ry  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments

ry picture ry  路  3Comments

doutchnugget picture doutchnugget  路  3Comments