deno npm:create-next-app@latestdeno npm:create-next-app@latest with the --skip-install--skip-install flag. I have just created the Nextjs app and run deno installdeno install, as well as created the deno.jsondeno.json.deno task devdeno task dev works, but there are many errors, such as the fact that I need to write the import React from "react"import React from "react". This didn't go away when I changed set "jsx": "react-jsx""jsx": "react-jsx" in tsconfig. I also got the errors below:'Component' cannot be used as a JSX component.This is usually caused by version mismatches, which doesn't make sense as it is a clean install of nextjs app.
Cannot invoke an expression whose type lacks a call signature. Type 'Promise' has no compatible call signatures.This one I completely don't understand as the signature files look ok, such as below
node_modules/.deno/next@15.0.4/node_modules/next/font/local/index.d.tsnode_modules/.deno/next@15.0.4/node_modules/next/font/local/index.d.tsexport { default } from 'next/dist/compiled/@next/font/dist/local'
Join the Discord to ask follow-up questions and connect with the community