It wrote no "next" detected so deploy failed, how to fix?

I checked my github, “next” is there, should I change it to latest or how do I fix it? Please advise, thank you.

{
“name”: “jsboilerplate”,
“version”: “0.1.0”,
“private”: true,
“scripts”: {
“dev”: “next dev --turbopack”,
“build”: “next build”,
“start”: “next start”,
“lint”: “next lint”
},
“dependencies”: {
“react”: “19.0.0-rc-02c0e824-20241028”,
“react-dom”: “19.0.0-rc-02c0e824-20241028”,
“next”: “15.0.2”, // Add Next.js to dependencies //
},
“devDependencies”: {
“typescript”: “^5”,
@types/node”: “^20”,
@types/react”: “^18”,
@types/react-dom”: “^18”,
“postcss”: “^8”,
“tailwindcss”: “^3.4.1”,
“eslint”: “^8”,
“eslint-config-next”: “15.0.2”
}
}

Deployment URL or Custom Domain:
Environment (local, preview, production):
Project Framework:
Build Settings:
  Framework Preset:
  Build Command (if not default):
  Output Directory (if not default):
  Install Command (if not default):
Node/Runtime Version:
Package Manager:
Relevant Packages:

Hi,

Can you send me the screenshot of the error?

Here it is when I deploy it

Can you try deploying fresh template and see if you can reproduce: Next.js Boilerplate – Vercel?

Thanks man, I removed and deploy again, it works

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.