Symptom
- When running the command `cds .add` or `cds --version`, the following error message is displayed:
"This application uses '@sap/cds' version 8.2, which is not compatible with the installed '@sap/cds-dk' version 9.
You can either:
- update '@sap/cds' to the latest version (recommended)
- downgrade '@sap/cds-dk' to version 8" .
- Attempts to downgrade '@sap/cds-dk' to versions 8 and 7 using the commands `npm i @sap/cds-dk@8` and `npm i @sap/cds-dk@7` result in the same version error message.
- Running the command `npm i @sap/cds-dk@8.2` also fails to resolve the issue.
Read more...
Keywords
@sap/cds, @sap/cds-dk, version compatibility, BAS, npm install, cds-dk directory, npx cds, SAP Business Application Studio, development dependency, error message, downgrade version, npm commands. , KBA , CA-BAS-FS , File System,Logging,Operator Clusters , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview