DenoDDeno
Powered by
PolarisP
Deno•15mo ago•
33 replies
Polaris

Creating Deno.json wrecks Next.js project

I am trying to create a Next.js project with Deno, Shadcn & Tailwind.

Things initially seem fine until I realise that I need to create a Deno.json file to get
Object.prototype.__proto__
Object.prototype.__proto__
to work.

However as soon as I create a Deno.js file, I am bombarded with numerous errors that I wouldn't (and shouldn't) be getting otherwise - even within Shadcn components.

Initially, these errors are pertaining to imports. If I try to fix them, I start getting 'implict any' errors on all my shadcn components.

Any advise on fixing this is highly appreciated.
image.png
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno, React, Next.js
Martin CarlssonMMartin Carlsson / help
13mo ago
launch.json for debugging deno next.js in vs code
Lex BerezhnyLLex Berezhny / help
10mo ago
Fresh project next to regular Deno project
krmlKkrml / help
3y ago
deno compile next.js as standalone executable
Mal1t1aMMal1t1a / help
2y ago