Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

199
Views
¿Cómo arreglar las 'páginas sin servidor creadas' en la implementación de nextjs usando vercel?

Estoy tratando de implementar mi aplicación NextJs. He estado recibiendo los mismos 2 errores en los últimos días:

1: // y simplemente fallará más adelante
2: Error: No se crearon páginas sin servidor. Más información:https://err.sh/vercel/vercel/now-next-no-serverless-pages-built
No tengo ni idea de cómo arreglar ambos. agradeceria si alguien ayudara

Este es mi archivo package.json:

 { "name": "my-dev-portfolio", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "next", "bulid": "next build", "start": "next start", "now-build": "next build" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/free-brands-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/react-fontawesome": "^0.2.0", "next": "^12.2.0", "react-dom": "^18.2.0", "typewriter-effect": "^2.19.0" } }

El archivo next.config.json:

 module.exports = { target: "serverless" }

archivo now.json:

 { "version": 2, "builds": [{"src":"package.json", "use": "@now/next"}] }
about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Por now.json : está utilizando un método muy antiguo. Vercel ahora puede detectar su marco. Consulte el anuncio en el blog: Zero Config Deployments .

Para next.config.js donde está usando target: serverless , eso tampoco es necesario en absoluto. Simplemente elimínelo si está implementando en Vercel. Para aquellos curiosos, consulte https://nextjs.org/docs/advanced-features/output-file-tracing para obtener más información sobre una mejor solución que reemplazó target .

about 4 years ago · Santiago Trujillo Report

0

No necesita el archivo now.json. Elimínelo e intente implementarlo nuevamente

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!