Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
How to deploy the next.js app to the Cpanel?

I want to deploy next.js app to Cpanel but I have some difficulties, it is not working. I have done the following steps.

  1. Cpanel node version is 14.17.3 and I also upgraded my node version.
  2. Create setup.js file.
  3. Change "start": "NODE_ENV=production node server.js", in package.json.
  4. npm run build
  5. took all folders except node_modules and deployed Cpanel.
  6. setup node.js in Cpanel and install node_modules.
  7. run js.script as npm run start but it gives following error npm WARN lifecycle The node binary used for scripts
  8. I create .npmrc file and put it inside 'scripts-prepend-node-path=true' still website is not working just show the folders structure

Any ideas on what I'm doing wrong?. Thanks in advance

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda