Closed vivekchauhan12000 closed 3 years ago
Hi @vivekchauhan12000, thanks for the bug report. This was fixed in commit https://github.com/sholladay/pogo/commit/ab8607467f4d023b8fe8a88531c41ec4c67c420a and I just published a new release, v0.5.2, which contains the fix.
Since you tried to run the example with the old version, you probably still have that code in your cache. To force Deno to fetch the latest version and refresh the cache, use the --reload
flag. Then it should work.
deno run -A --reload https://deno.land/x/pogo/example/simple-server/run.ts
I have a question: I am trying to run the example server.js which is throwing me these errors =
error: TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'. NamedStat
TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'. export { DirectoryHandlerOptions } from './helpers/directory.tsx';