AirmanEpicA
Denoβ€’15mo agoβ€’
4 replies
AirmanEpic

VSC having issues with NextJS using Deno

so I installed Deno and NextJS and have successfully run both the front and backend, but unfortunately it seems like it's throwing lots of extra errors with the tsx renderer.

example error:
Relative import path "next/image" not prefixed with / or ./ or ../
  hint: If you want to use a JSR or npm package, try running `deno add jsr:next/image` or `deno add npm:next/image`deno(import-prefix-missing)


and yes, I did try to install that, with no luck. I also tried adding the npm react type definitions with no luck. Any ideas how to fix?
73ef5defbf438dd0f5ba20400fceada0.png
Was this page helpful?