07-13-2021 9:40 AM - edited 02-04-2024 1:46 AM
Hi,
I wanted to re-build a successfully deployed cap project (after implementing small adjustments) but it fails now.
I'm using an mta.yaml file. Before I can deploy it, I have to build it: building fails.
To me it seems that SAP is currently adding/changing dependencies in the cds package.
I get the following error:
INFO executing the "npx -p @sap/cds-dk cds build --production" command...
........npm ERR! code E404
npm ERR! 404 Not Found - GET http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/@sap/cds/-/cds-5...
npm ERR! 404
npm ERR! 404 '@sap/cds@5.3.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of '@sap/cds-dk'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Yesterday I got an error for a missing lint package, also noted as a dependency of sap/cds-dk. Since today that seems no problem anymore but now there is a different package missing, I'm concluding that SAP is currently working on dependencies of sap/cds-dk.
Can you please confirm and if I'm correct, when do you think everything will be 'buildable' again?
Thank you in advance
Daniel
Hi Team,
I am having the same issue on my SAP internal global account.
It appeared in a workspace which was working fine 2 days ago.
It looks like the following command does solve the issue:
npm config set @sap:registry https://npm.sap.com
But I have to run it each time I restart the workspace.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.