After attempting to run my deno application, I encountered the following error message and I'm unsure about the cause. Has anyone else faced this issue before?
Command used to run: deno run --allow-all server.ts
Error:
Error: TS1205 [ERROR]: Re-exporting a type while the '--isolatedModules' flag is enabled requires the use of 'export type'.
RouterContext,
~~~~~~~~~~~~~
at file:///Users/XXXX/Documents/DenoAPP/deps.ts:4:3
deps.ts
export { Application, Router, RouterContext, Context, send } from "https://deno.land/x/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="650a040e251354554b514b55">[email protected]</a>/mod.ts";
export { MongoClient } from "https://deno.land/x/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c6aba9a8a1a986b0f6e8f4ffe8f4">[email protected]</a>/mod.ts";
export { hashSync, compareSync} from "https://deno.land/x/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="593b3a2b20292d192f69776a">[email protected]</a>/mod.ts";
import "https://deno.land/x/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="acc8c3d8c9c2daecda9f829e829c">[email protected]</a>/load.ts";
export * from "https://deno.land/x/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="65010f12112513574b51">[email protected]</a>/mod.ts";