If you try to install the new NPM Package for CDS command line tools - @Sap/cds-dk (CAP https://cap.cloud.sap/docs/about/#tools-support) on your local Windows machine you may get this error "npm ERR! code ELIFECYCLE" and installation fails.
npm install -global @sap/cds-dk
The command 'cds' has moved from library @sap/cds to @sap/cds-dk.
It is recommended to remove the global version of @sap/cds and
reinstall @sap/cds-dk via
npm rm -g @sap/cds
npm i -g @sap/cds-dk
npm rm -g @sap/cds
npm i -g @sap/cds-dk
npm root -g
rd C:\Users\<User Name>\AppData\Roaming\npm\node_modules\@sap\cds /S
npm install -global @sap/cds-dk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
9 | |
7 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 |