I am getting an error during deployment on Vercel. My project uses Next.js and TypeScript. While importing the project, I chose Next.js as the framework.
Error:
No Next.js version detected. Make sure your package.json has “next” in either “dependencies” or “devDependencies”. Also check your Root Directory setting matches the directory of your package.json file.
What I’ve Tried
Uninstalling node_modules and deleting package.json