Skip to content

Support for CDS 7.x.x #58

@thakrawielitzki

Description

@thakrawielitzki

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

  1. cds init
  2. npm install cds2types --save-dev

I guess the dependencies in the package.json need to be updated.

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions