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

209
Views
Siguiente js Directorio personalizado con Vercel

quiero preguntar cómo implementar el próximo js con vercel.

Aquí tengo la siguiente estructura js que he cambiado.

  • interfaz (Next js Current Directory)
  • node_modules
  • siguiente.config.js
  • jsconfig.json
  • paquete-bloqueo.json
  • paquete.json

Script en paquete.json.

 "scripts": { "dev": "next frontend dev", "build": "next build frontend", "start": "next start frontend", "lint": "next lint frontend" },

Script en next.config.js.

 const path = require('path') const alias = { '@/components': path.join(__dirname, 'frontend', 'components'), '@/containers': path.join(__dirname, 'frontend', 'containers'), '@/styles': path.join(__dirname, 'frontend', 'scss') } module.exports = { reactStrictMode: true, sassOptions: { includePaths: [path.join(__dirname, 'frontend/scss')] }, images: { domains: ['source.unsplash.com'], loader: 'imgix', // this is a hack until the bug is fixed path: 'https://noop/' }, webpack: (config) => { config.resolve.alias = Object.assign( {}, config.resolve.alias, alias ) return config } }

Cuando importo a vercel e implemento solo las compilaciones son exitosas, luego siga con este mensaje:

Error: no se pudo encontrar el archivo "/vercel/path1/.next/routes-manifest.json". Esto normalmente es causado por una mala configuración en su proyecto.

¿Tengo que ajustar la salida de compilación? O hay un mejor camino.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

verifique si ejecuta yarn remove next antes de que el despliegue resuelva el problema

about 4 years ago · Juan Pablo Isaza Report

0

Lo resolví anulando el DIRECTORIO DE SALIDA en vercel use frontend/.next . Espero que esto ayude a otros.

about 4 years ago · Juan Pablo Isaza 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!