gqty icon indicating copy to clipboard operation
gqty copied to clipboard

Dependency incompatibilities

Open mmailaender opened this issue 3 years ago • 1 comments

It seems, that there is a dependency conflict, with the newest GQty Version:

Running npm install gqty graphql @gqty/react installs the new alpha versions. I think it would be better if it would install every time, the latest stable version.

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/gqty
npm WARN   gqty@"*" from the root project
npm WARN   1 more (@gqty/react)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer gqty@"^2.0.4" from @gqty/[email protected]
npm WARN node_modules/@gqty/react
npm WARN   @gqty/react@"*" from the root project

added 5 packages, and audited 625 packages in 9s

110 packages are looking for funding
  run `npm fund` for details

30 vulnerabilities (1 low, 10 moderate, 14 high, 5 critical)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

npm install -D @gqty/cli

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @gqty/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/gqty
npm ERR!   gqty@"^2.4.0-alpha-c5b89dbd.0" from the root project
npm ERR!   gqty@"^2.4.0-alpha-c5b89dbd.0" from @gqty/[email protected]
npm ERR!   node_modules/@gqty/cli
npm ERR!     dev @gqty/cli@"*" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer gqty@"^2.0.4" from @gqty/[email protected]
npm ERR! node_modules/@gqty/react
npm ERR!   @gqty/react@"^2.2.0-alpha-445c0456.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/gqty
npm ERR!   peer gqty@"^2.0.4" from @gqty/[email protected]
npm ERR!   node_modules/@gqty/react
npm ERR!     @gqty/react@"^2.2.0-alpha-445c0456.0" 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.
npm ERR! 
npm ERR! See /home/gitpod/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gitpod/.npm/_logs/2022-12-16T09_57_19_304Z-debug-0.log

mmailaender avatar Dec 16 '22 10:12 mmailaender

Will be fixed in https://github.com/gqty-dev/gqty/pull/1282, the abandoned kamilkisiela/release-canary is the culprit.

vicary avatar Dec 16 '22 14:12 vicary