#Deno 2.0 TS errors on fresh project

2 messages · Page 1 of 1 (latest)

novel basalt
#

I created a new project with Deno 2 using deno init test-proj

Immediately, I have Typescript errors I'm not sure how to fix.

Property 'main' does not exist on type 'ImportMeta'.ts(2339)

Screenshot shows output of deno --version and the error

graceful ingot
#

Make sure you have Deno extension installed. From the screenshot it looks like it's not installed - you'd have "Deno v..." In the bottom right hand corner