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

350
Vistas
while creating build on Docker gives error

I have completed my project in node.js.

Node version is : v16.13.0

NPM version is : 8.1.0

when client create build using Docker it gives below error


160 verbose stack FetchError: request to https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org

160 verbose stack at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)

160 verbose stack at ClientRequest.emit (events.js:203:13)

160 verbose stack at TLSSocket.socketErrorListener (_http_client.js:402:9)

160 verbose stack at TLSSocket.emit (events.js:203:13)

160 verbose stack at emitErrorNT (internal/streams/destroy.js:91:8)

160 verbose stack at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)

160 verbose stack at processTicksAndRejections (internal/process/task_queues.js:77:11)

Client's Node version is : v12.6.0

Client's NPM version is : 6.9.0

How to solve this error without client's Node & NPM upgrade?

over 4 years ago ·
1 Respuestas
Responde la pregunta

0

the docker file shoud have this structure,
node: 16.13.0

then in the console, the client should do this =>
`docker-compose down`

`docker-compose up`

over 4 years ago · Brian Jacobo Fuentes Denunciar
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