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

187
Vistas
i am getting this error "Cannot find module '/var/app/current/src/server.js'. Please verify that the package.json has a valid "main" entry"

I am getting this error when i deploy a node project to Elastic Beanstalk after that i changed this code

main: src/server.js 

to

main: server.js

in the package.json file then i deleted every src keyword from the whole file. now the amazon relational database service RDS gets connected, the server runs for a moment and they get disconnected as i can see in the log. this is what's in the folder i try to upload

config
controllers
.npmrc
aws.js
aws.js.map
package.json
sequalize.js
sequalize.js.map
server.js
server.js.map

these are the inbound rules of RDS

https://i.stack.imgur.com/XUSHF.png

so what do you suggest?

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