Requested module does not provide export named 'Middleware'
Seredeep opened this issue · 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/mandarinets@v2.3.2/deps.ts:4:58)
[Scenario]
Steps to reproduce the behavior:
- copy code from documentation's hello world
- run code with
deno run -c tsconfig.json --allow-net --allow-read app.ts
- 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]