Deno first look, Hello world deno

Please check the first look of deno, hello world, server creation using typescript, and running using brand new deno.

Deno is the new runtime for JS & TS, developed by nodeJs team.



Video Tutorial



While creating a deno server from the documentation

deno run server.ts 

and once you ran you might have noticed below error.

error: Uncaught PermissionDenied: network access to "0.0.0.0:8000", run again with the --allow-net flag

to solve this

run in this way, deno run --allow-net .\server.tsif the issue still persisting run it in this way.

deno run --allow-net .\server.ts http://localhost:8000/

https://deno.land/ 

0 comments: