Error when deploying with NextJS

I can’t manage to reproduce example with NextJs.
When I replicate it with npm and deploy it, I get this error:

Error: Could not find a production build in the ‘/opt/render/project/src/.next’ directory

My render.yaml:

- type: web
  name: next-js
  env: node
  plan: free
  buildCommand: npm install && npm build
  startCommand: npm start
  autoDeploy: false

My package.json:

 "build": "next build",
 "start": "next start -H",
 "vercel-build": "prisma generate && next build",
 "start-localhost": "next start"