I installed Deno using this choco install deno
command, if I typed deno, I got the version, but if I try to run my index file, I got this error and whatever I typed i got the error like this(refer the image), what went wrong here, thank you
Uncaught SyntaxError: Unexpected identifier
at evaluate ($deno$/repl.ts:54:34)
at Object.replLoop ($deno$/repl.ts:156:13)
My index file
import {Application} from 'https://deno.land/x/oak/mod.ts';
import {PORT} from './config.js';
import router from '.router.js';
const app=new Application();
app.use(router.routes());
app.use(router.allwedMethods());
console.log('Server is running. Open http://localhost:${PORT}');
await app.listen({port:PORT});
config.js
export const PORT=5000;
router.js
import {Router} from 'https://deno.land/x/oak/mod.ts';
const router=new Router();
router.get('/',({response})=>{
response.body='Working';
});
export default router;