Error when deploying with NextJS

Hey,
I can’t manage to reproduce https://github.com/render-examples/nextjs-hello-world/tree/master 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:

services:
- 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 0.0.0.0",
 "vercel-build": "prisma generate && next build",
 "start-localhost": "next start"