cancel
Showing results for 
Search instead for 
Did you mean: 

Issue on CAP deploy after updating cds/cds-dk with latest version (7.0.2)

denko955
Newcomer
0 Kudos

Hi everyone,

I recently tried to deploy the CAP with the version I was using (5.9.8) but it failed because a new version of the "cds-dk" library (7.0.2) was released a few days ago. Initially I was suggested to use a version that is >6 and after manually changing the version in the package.json file the build was successful. However when i tried to deploy it gave me the following errors:

I already tried deleting the autogenerated files like the "package-lock.json" and the "node-module" folder in addition to running the "npm i" and "npm update" commands, but it didn't work.

Do you have any suggestion?

Thanks in advance,

Alessio

geert-janklaps
Active Contributor
0 Kudos

Hi Alessio,

Did you also update the @sap/cds library and added all the necessary dependencies? As of cds 7, the library became more modular. (e.g. separate libraries for databases, fiori, ...)

If you haven't already, I suggest you go through the release notes of the release and implement all the necessary changes. (there are some breaking changes in major releases)

June 2023 | CAPire (cloud.sap)

Accepted Solutions (0)

Answers (0)