STILLWATER
STILLWATER4d ago

Cannot run existing Nextjs App

Im trying to run dev on my existing nextjs app, but cant run task dev. giving error on next config itself
No description
2 Replies
fro.profesional
You can only run nextjs that are esm not commonjs, meaning if u have a require(“..”) is not gonna work Try with a new app that by default are esm only now
STILLWATER
STILLWATER3d ago
Okay so i have to specially make nextjs with deno create A flag for it to work?