Open drmercer-lucid opened 2 years ago
latest version is v61
but it still fails to build due to this:
➜ deno eval --unstable "import * as i from 'https://esm.sh/ink?pin=v61'"
Download https://cdn.esm.shchalk/
Download https://cdn.esm.shcli-boxes/
This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills
error: Uncaught ReferenceError: _a is not defined
at https://cdn.esm.sh/v61/yoga-layout-prebuilt@1.10.0/deno/yoga-layout-prebuilt.js:3:58800
at https://cdn.esm.sh/v61/yoga-layout-prebuilt@1.10.0/deno/yoga-layout-prebuilt.js:3:77999
at https://cdn.esm.sh/v61/yoga-layout-prebuilt@1.10.0/deno/yoga-layout-prebuilt.js:4:508
at https://cdn.esm.sh/v61/yoga-layout-prebuilt@1.10.0/deno/yoga-layout-prebuilt.js:2:681
at https://cdn.esm.sh/v61/yoga-layout-prebuilt@1.10.0/deno/yoga-layout-prebuilt.js:4:713
@talentlessguy Thanks for the tip about the version. If you add --ext ts
to your command to make it do type checking, you'll see the type errors still happen:
$ deno eval --unstable --ext ts "import * as i from 'https://esm.sh/ink?pin=v61'"
Download https://cdn.esm.shchalk/
Download https://cdn.esm.shcli-boxes/
error: TS2300 [ERROR]: Duplicate identifier 'Buffer'.
var Buffer: typeof bufferModule;
~~~~~~
at https://deno.land/std@0.119.0/node/global.ts:25:7
'Buffer' was also declared here.
declare class Buffer extends Uint8Array {
~~~~~~
at https://cdn.esm.sh/v61/node.ns.d.ts:16:15
... etc.
Failing module
Error message
After running
deno run --unstable test.ts
I get this:Additional info
The
Download https://cdn.esm.shchalk/
andDownload https://cdn.esm.shcli-boxes/
lines seem very broken. If I dodeno info test.ts
, this is what I get:The problem seems to happen in
https://cdn.esm.sh/v58/ink@3.2.0/build/styles.d.ts
: