invalid-server-options.mdx
title: It looks like the next instance is being instantiated incorrectly.
Why This Error Occurred
You have passed a null or undefined parameter to the next() call.
Possible Ways to Fix It
Make sure you are passing the variables properly:
const app = next()
And make sure you're passing dev as shown in the examples below:
const app = next({ dev: boolean })
Useful Links
Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.