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

349
Views
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 answers
Answer question

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 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!