pixijs / pixi-projection

MIT License
190 stars 34 forks source link

Pixi.js v7.x & pixi-spine compatibility #115

Open kulabros opened 1 year ago

kulabros commented 1 year ago

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 commented 1 year ago

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: games@1.0.0 npm ERR! Found: @pixi/core@7.2.2 npm ERR! node_modules/@pixi/core npm ERR! peer @pixi/core@"^7.0.0" from @pixi-spine/base@4.0.3 npm ERR! node_modules/@pixi-spine/base npm ERR! peer @pixi-spine/base@"^4.0.0" from @pixi-spine/loader-base@4.0.3 npm ERR! node_modules/@pixi-spine/loader-base npm ERR! peer @pixi-spine/loader-base@"^4.0.0" from @pixi-spine/loader-uni@4.0.3 npm ERR! node_modules/@pixi-spine/loader-uni npm ERR! @pixi-spine/loader-uni@"^4.0.3" from pixi-spine@4.0.3 npm ERR! node_modules/pixi-spine npm ERR! 1 more (pixi-spine) npm ERR! peer @pixi-spine/base@"^4.0.0" from @pixi-spine/loader-uni@4.0.3 npm ERR! node_modules/@pixi-spine/loader-uni npm ERR! @pixi-spine/loader-uni@"^4.0.3" from pixi-spine@4.0.3 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/loader-base@4.0.3 npm ERR! node_modules/@pixi-spine/loader-base npm ERR! peer @pixi-spine/loader-base@"^4.0.0" from @pixi-spine/loader-uni@4.0.3 npm ERR! node_modules/@pixi-spine/loader-uni npm ERR! @pixi-spine/loader-uni@"^4.0.3" from pixi-spine@4.0.3 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 pixi-spine@4.0.3 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/core@6.5.9 npm ERR! node_modules/@pixi/core npm ERR! peer @pixi/core@"^6.0.4" from pixi-projection@0.4.4 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

ivanpopelyshev commented 1 year ago

working on it

kulabros commented 1 year ago

Very cool, good luck! Thank you for quick reply

venaissance commented 1 year ago

Looking forward to your good results. @ivanpopelyshev

kareljuricka commented 1 year ago

Any update @ivanpopelyshev ?

ivanpopelyshev commented 1 year ago

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

ivanpopelyshev commented 1 year ago

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

gabrielliwerant commented 8 months ago

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?