ember-statechart-component icon indicating copy to clipboard operation
ember-statechart-component copied to clipboard

xstate version?

Open MichalBryxi opened this issue 1 year ago • 3 comments

Current package.lock peerDependencies says:

    "xstate": "^4.32.1"

but the README says:

- XState >= 5

Isn't this a contradiction?

MichalBryxi avatar Apr 11 '24 14:04 MichalBryxi

Coming here beacuse in a new app with "ember-statechart-component": "^6.1.2", I got:

 WARN  Issues with peer dependencies found
.
└─┬ ember-statechart-component 6.1.2
  └── ✕ unmet peer xstate@^4.32.1: found 5.10.0

MichalBryxi avatar Apr 11 '24 14:04 MichalBryxi

To rendom bypassers: When I had xstate: 5.10.0 I was getting:

Uncaught Error: Attempted to load a component, but there wasn't a component manager associated with the definition. The definition was: StateMachine

Whenever I downgraded to recommended xstate: 4.32.1 the problem has disappeared and xstate started working for me.

MichalBryxi avatar Apr 11 '24 14:04 MichalBryxi

Yeah, i'm mid-rewrite of this library to support xstate5, but i forgot to finish!

Xstate5 has a ton of breaking changes

NullVoxPopuli avatar Apr 11 '24 16:04 NullVoxPopuli

latest version now supports for xstate 5!

NullVoxPopuli avatar Oct 18 '24 13:10 NullVoxPopuli