pixi-projection icon indicating copy to clipboard operation
pixi-projection copied to clipboard

Pixi.js v7.x & pixi-spine compatibility

Open kulabros opened this issue 1 year ago • 8 comments

Hi, is there a chance to have/make this pixi-projection be compatible with newest pixi.js release? My build fails at pixi-spine related deps, as I'm trying to install with newest pixi.js and pixi-spine libs versions. Installations fails at @pixi/utils dependency, which I have installed separately and also next fail is at @pixi/core, @pixi/spine.. Am I missing something new to do to make this version be installed? Thanks a LOT for any help.

kulabros avatar Mar 22 '23 10:03 kulabros

I've removed @pixi/utils dependency, that should be included in @pixi/core since I've read release notes further to older releases. Now there's only pixi-spine incompatibility problem, when I try to install pixi-projection.

npm install pixi-projection npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @pixi/[email protected] npm ERR! node_modules/@pixi/core npm ERR! peer @pixi/core@"^7.0.0" from @pixi-spine/[email protected] npm ERR! node_modules/@pixi-spine/base npm ERR! peer @pixi-spine/base@"^4.0.0" from @pixi-spine/[email protected] npm ERR! node_modules/@pixi-spine/loader-base npm ERR! peer @pixi-spine/loader-base@"^4.0.0" from @pixi-spine/[email protected] npm ERR! node_modules/@pixi-spine/loader-uni npm ERR! @pixi-spine/loader-uni@"^4.0.3" from [email protected] npm ERR! node_modules/pixi-spine npm ERR! 1 more (pixi-spine) npm ERR! peer @pixi-spine/base@"^4.0.0" from @pixi-spine/[email protected] npm ERR! node_modules/@pixi-spine/loader-uni npm ERR! @pixi-spine/loader-uni@"^4.0.3" from [email protected] npm ERR! node_modules/pixi-spine npm ERR! pixi-spine@"^4.0.3" from the root project npm ERR! 5 more (@pixi-spine/runtime-3.7, @pixi-spine/runtime-3.8, ...) npm ERR! peer @pixi/core@"^7.0.0" from @pixi-spine/[email protected] npm ERR! node_modules/@pixi-spine/loader-base npm ERR! peer @pixi-spine/loader-base@"^4.0.0" from @pixi-spine/[email protected] npm ERR! node_modules/@pixi-spine/loader-uni npm ERR! @pixi-spine/loader-uni@"^4.0.3" from [email protected] npm ERR! node_modules/pixi-spine npm ERR! pixi-spine@"^4.0.3" from the root project npm ERR! @pixi-spine/loader-base@"^4.0.3" from [email protected] npm ERR! node_modules/pixi-spine npm ERR! pixi-spine@"^4.0.3" from the root project npm ERR! 70 more (@pixi-spine/loader-uni, @pixi-spine/runtime-3.7, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! pixi-projection@"" from the root project npm ERR! npm ERR! Conflicting peer dependency: @pixi/[email protected] npm ERR! node_modules/@pixi/core npm ERR! peer @pixi/core@"^6.0.4" from [email protected] npm ERR! node_modules/pixi-projection npm ERR! pixi-projection@"" 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.

EDIT: --legacy-peer-deps does not work at all, but --force options seems to install the deps but anyway, npm ci than fails on existing deps, so it's useless trying to force to use peer deps..

Is this planned to be updated? Thank you

kulabros avatar Mar 22 '23 13:03 kulabros

working on it

ivanpopelyshev avatar Mar 22 '23 22:03 ivanpopelyshev

Very cool, good luck! Thank you for quick reply

kulabros avatar Mar 22 '23 23:03 kulabros

Looking forward to your good results. @ivanpopelyshev

venaissance avatar Mar 28 '23 13:03 venaissance

Any update @ivanpopelyshev ?

kareljuricka avatar Apr 16 '23 08:04 kareljuricka

done, version 1.0.0 , pelase check. cant upload to github yet , and i didnt test it with spine

ivanpopelyshev avatar Apr 24 '23 10:04 ivanpopelyshev

It works with spine, Re-newed examples will be up soon on official site.

ivanpopelyshev avatar Apr 24 '23 14:04 ivanpopelyshev

It works with spine, Re-newed examples will be up soon on official site.

The example links in the repo readme are dead. Any updates?

gabrielliwerant avatar Dec 31 '23 20:12 gabrielliwerant