Deno: SyntaxError on deno info

Created on 1 Aug 2020  ·  6Comments  ·  Source: denoland/deno

➜ deno --version
deno 1.2.2
v8 8.5.216
typescript 3.9.2

Running deno info --no-check cli.ts on https://github.com/halvardssm/deno-nessie throws the following error:

error: Uncaught SyntaxError: Unexpected token '['
  public available_actions: Array<Command> = [];
^
    at <https://deno.land/x/[email protected]/src/Kernel.ts>:35:1
bug upstream ☝️

Most helpful comment

@bartlomieju looks like the type stripping isn't stripping types. 😭

All 6 comments

FYI kind of unrelated, but you won't be able to run it on deno v1.2.2 because dependencies nessie uses are std v0.55.0

@bartlomieju looks like the type stripping isn't stripping types. 😭

@ebebbington this was while trying to get a graph of dependencies to help fix that :wink:

@ebebbington this was while trying to get a graph of dependencies to help fix that 😉

Oh yeah course! 🤣

This issue will be fixed in v1.2.3 next week.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ry picture ry  ·  3Comments

kyeotic picture kyeotic  ·  3Comments

ry picture ry  ·  3Comments

CruxCv picture CruxCv  ·  3Comments

xueqingxiao picture xueqingxiao  ·  3Comments