mandarinets icon indicating copy to clipboard operation
mandarinets copied to clipboard

Requested module does not provide export named 'Middleware'

Open Seredeep opened this issue 2 years ago • 0 comments

[Details] When running the hello world from the documentation provided in the site with the command deno run -c tsconfig.json --allow-net --allow-read app.ts an error is thrown

[Stacktrace] Uncaught SyntaxError: The requested module 'https://raw.githubusercontent.com/mandarineorg/mandarinets-modules/master/oak/6.4.1/mod.ts' does not provide an export named 'Middleware' at <anonymous> (https://deno.land/x/[email protected]/deps.ts:4:58)

[Scenario] Steps to reproduce the behavior:

  1. copy code from documentation's hello world
  2. run code with deno run -c tsconfig.json --allow-net --allow-read app.ts
  3. error

[Expected behavior] Should run the server without any errors

[OS] Windows 10 Pro 21H2

[Environment]

  • Mandarine version: [v2.3.2]
  • Deno version [1.23.0]
  • Deno v8 version [10.4.132.5]
  • Deno typescript version [4.7.2]

Seredeep avatar Jul 08 '22 21:07 Seredeep