xstate-tools icon indicating copy to clipboard operation
xstate-tools copied to clipboard

VSS extension randomly throw error: Could not find a machine at the current cursor.

Open nlk-jan opened this issue 1 year ago • 1 comments

Hi, I am very new to Xstate so apologize for the noob question. I cannot get Xstate VSS plugin to open Stately Visualiser reliably. It randomly appears once or twice (over createMachine), but later it is not showing, and I am getting an error: Could not find a machine at the current cursor. Thanks Jan

nlk-jan avatar Aug 12 '22 09:08 nlk-jan

There is a good chance that the underlying issue is similar to this one https://github.com/statelyai/xstate-tools/issues/194

Andarist avatar Aug 12 '22 09:08 Andarist

We can't be entirely sure as we never confirmed what has caused this issue but I strongly believe that there is a non-zero chance that this is being fixed by: https://github.com/statelyai/xstate-tools/pull/220

Andarist avatar Nov 08 '22 16:11 Andarist