on 12-16-2021 11:28 AM
Hi,
I'm following the learning plan here: https://learning.sap.com/learning-journey/developing-with-sap-extension-suite/deploy-manually and I am facing issues.
When running cf push to push the app to my trial account. I'm getting the following errors.
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/yallist/-/yallis... failed, reason: getaddrinfo ENOTFOUND nginx-redirector.repo-cache.svc.cluster.local
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/cache/final/.npm/_logs/2021-12-16T10_59_15_309Z-debug.log
**ERROR** Unable to build dependencies: exit status 1
Failed to compile droplet: Failed to run all supply scripts: exit status 14
Exit status 223
Cell cfeb172d-f2c7-42d1-a157-58148983025c stopping instance 6a8d2f73-d181-4569-b51b-03b4c12a79b6
Cell cfeb172d-f2c7-42d1-a157-58148983025c destroying container for instance 6a8d2f73-d181-4569-b51b-03b4c12a79b6
BuildpackCompileFailed - App staging failed in the buildpack compile phase
FAILED
I am sure that I have no network issues as the errors suggests. Can anyone shed some light on this?
Richie
Hi everyone,
I was facing the same issue and I solved it by changing the address from http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/ to https://registry.npmjs.org/ in the package-lock.json file.
I.e.
to: https://registry.npmjs.org/passport/-/passport-0.6.0.tgz
I have executed the command cds build --production and cf push after that and it worked.
I hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @tomjohn.br, Thanks for your comment.
I have one question. I changed all code in the package-lock.json file like under.
After that, I built my MTA file and deployed it, but I was still stuck in the same error. Can you help me?
Staging application "btpdms-fiori-approuter"...<br>Error staging application "btpdms-fiori-approuter": BuildpackCompileFailed - App staging failed in the buildpack compile phase<br>Download the application logs via the dmol command and check them for more information.<br>A step of the process has failed. Retrying it may solve the issue.<br>Process failed.
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.