-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hello,
cds2types is not compatible with the newly released @sap/cds with Version 7.x.x.
When adding a dependency to cds2types npm returns this error:
npm install cds2types --save-dev
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @sap/[email protected]
npm ERR! node_modules/@sap/cds
npm ERR! @sap/cds@"^7" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @sap/cds@"^6.3.1" from [email protected]
npm ERR! node_modules/cds2types
npm ERR! dev cds2types@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Steps to reproduce
- cds init
- npm install cds2types --save-dev
I guess the dependencies in the package.json need to be updated.
Best Regards