This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
Bug: Visualizer breaks silently with a console error (and gets stuck on "Visualizing machine") #363
Labels
bug
Something isn't working
Description
A machine that can be visualized in XState editor, as well as the (legacy?) old visualizer at https://xstate.js.org/viz/, does not work on the new visualizer at: https://stately.ai/viz/27e372fa-0611-4ae1-9d49-ffbe53ecb4d8.
It emits a console error -
TypeError: Cannot read properties of undefined (reading 'c')
and the visualizer just gets stuck at the loading screen for "Visualizing machine".Here's a minimal machine specification extracted from the real application:
Expected result
This should have worked with the new visualizer as it works on the old one as well as on the editor.
Actual result
It does not and it emits a console error -
TypeError: Cannot read properties of undefined (reading 'c')
and the visualizer just gets stuck at the loading screen for "Visualizing machine".Reproduction
https://stately.ai/viz/7437af7f-2072-4f88-8df6-2b7bfb1d6d04
Additional context
No response
The text was updated successfully, but these errors were encountered: