library breaks with Deno v1.16.0
l3onh4rd opened this issue · comments
Since I would like to update to Deno v1.16.0 I can't use this library to connect to a PostgreSQL database. I investigated it via the dependency inspector and it throws an error through the denodb library. Is anybody else facing this issue?
More detailed error logging:
error: TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:100:7
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:105:9
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:116:7
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:200:7
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:225:5
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:391:9
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:424:7
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:446:11
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:451:11
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:646:5
TS2578 [ERROR]: Unused '@ts-expect-error' directive.
// @ts-expect-error
~~~~~~~~~~~~~~~~~~~
at https://deno.land/std@0.106.0/node/events.ts:667:5
TS2339 [ERROR]: Property 'getIterator' does not exist on type 'ReadableStream<R>'.
return res.readable.getIterator();
~~~~~~~~~~~
at https://deno.land/std@0.83.0/async/pool.ts:45:23
Found 12 errors.
That is exactly the error I get :(
same error here ):
I got same error, I don't mind using a older version, but it seems it doesn't help to use a older version of denoDB. And I don't know how to use a older version of deno std lib.
Anyone got a work around?
I got same error, I don't mind using a older version, but it seems it doesn't help to use a older version of denoDB. And I don't know how to use a older version of deno std lib.
Anyone got a work around?
EDIT: not neccesary, update to latest denodb instead. Ignore the following advice:
Until #307 gets merged, a workaround is importing the PR directly:
import { Database } from "https://raw.githubusercontent.com/Zhomart/denodb/update-deps/mod.ts";
Originally posted by @dada513 in #303 (comment)
I got same error, I don't mind using a older version, but it seems it doesn't help to use a older version of denoDB. And I don't know how to use a older version of deno std lib.
Anyone got a work around?
Until #307 gets merged, a workaround is importing the PR directly:
import { Database } from "https://raw.githubusercontent.com/Zhomart/denodb/update-deps/mod.ts";Originally posted by @dada513 in #303 (comment)
At least they working on it. Good to hear that! Thanks ❤