pixijs / pixi-react

Write PIXI apps using React declarative style
https://pixijs.io/pixi-react/
MIT License
2.36k stars 178 forks source link

ERROR - unable to resolve dependency tree #354

Closed aabmets closed 1 year ago

aabmets commented 1 year ago

Description

npm install @inlet/react-pixi
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: react-testing@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.1" from @inlet/react-pixi@6.8.0
npm ERR! node_modules/@inlet/react-pixi
npm ERR!   @inlet/react-pixi@"*" 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. npm install @inlet/react-pixi

Additional info

designspin commented 1 year ago

I was about to use this package on a pet project, but experience the same problems. Looks like react-pixi is due an update?

designspin commented 1 year ago

Looks like the issue is in hand though: https://github.com/inlet/react-pixi/pull/338 , great stuff!

baseten commented 1 year ago

This is resolved in the latest version v7.0.0-alpha.0, this now lives under @pixi/react-pixi on npm