oak
oak copied to clipboard
Critical bug, the application won't even start, the tests are failing
I'm having this issue with the https://deno.land/x/oak/mod.ts I tried to run the demo application
import { Application } from "https://deno.land/x/oak/mod.ts";
const app = new Application();
app.use((ctx) => {
ctx.response.body = "Hello World!";
});
await app.listen({ port: 8000 });
But I get this error when I try to run the application using the command
deno run --allow-net server.js
And the error is
error: TS2345 [ERROR]: Argument of type '{ depth: number; sorted: boolean; trailingComma: boolean; compact: boolean; iterableLimit: number; }' is not assignable to parameter of type 'InspectOptions'.
Object literal may only specify known properties, and 'sorted' does not exist in type 'InspectOptions'.
sorted: true,
~~~~~~~~~~~~
at https://deno.land/[email protected]/testing/asserts.ts:26:7
I have windows 10 as OS and I'm running deno 1.1.1 v8 8.5.104 typescript 3.9.2
ga3 f lardh
The current release is only designed to be compatible with Deno 1.3.0.