Skip to Content
Jul 13, 2021 at 08:40 AM

Building of CAP project fails (npm registry sap/cds-dk)



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.3.0.tgz
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