You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: asd@1.0.0
npm ERR! Found: @sap/cds@7.0.1
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 cds2types@3.0.0
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
The text was updated successfully, but these errors were encountered:
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:
Steps to reproduce
I guess the dependencies in the package.json need to be updated.
Best Regards
The text was updated successfully, but these errors were encountered: