mandarineorg / mandarinets

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.

Home Page:https://www.mandarinets.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  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]