cancel
Showing results for 
Search instead for 
Did you mean: 

Installing package @sap/cds-dk fails

nuramon9999
Explorer
0 Kudos

Hello 🙂

I am trying to fix a dockerfile for the javacap environment.

The step installing the step npm i -g @sap/cds-dk, an error occurs which I cannot get rid of.

#9 155.3 npm ERR! code EAI_AGAIN
#9 155.3 npm ERR! syscall getaddrinfo
#9 155.3 npm ERR! errno EAI_AGAIN
#9 155.3 npm ERR! request to https://int.repositories.cloud.sap/artifactory/api/npm/build-releases-npm/verror/-/verror-1.10.0.tgz failed, reason: getaddrinfo EAI_AGAIN int.repositories.cloud.sap<br>

Do you have a solution for this?

Best of wishes,

Pascal.

Andrew_Mai
Participant

I have encounter this issues yesterday. To fix this, I have to downgrade npm from version 8 to version 6. Not sure why it's happen.

Accepted Solutions (1)

Accepted Solutions (1)

nuramon9999
Explorer
0 Kudos

The answer from Andrew worked like a charm:

"I have encounter this issues yesterday. To fix this, I have to downgrade npm from version 8 to version 6. Not sure why it's happen."

andrew.mai.laidon - Thank you for that tip. Have a great day!

Answers (0)