Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

351
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda