Community forum for knowledge and support

Updated 2 months ago

Error Loading Page List

At a glance

The post describes an issue with the new class sync changes, resulting in an error when loading a page list. The error message indicates an "invalid union" and "invalid union discriminator" issue. Community members have discussed the problem, noting that it has been a known bug for several months. One community member suggests the issue may be related to the use of other libraries, such as Chalk, in addition to Relume. Another community member proposes designing and developing more Flowbase components into Relume to potentially fix the error and provide additional useful components.

Hi Team found an issue on the new class sync changes in regards to spacing:

Error loading page list
Refresh the page to try again.

If the issue persists, contact us.

More info: Error: [{"code":"invalid_union","unionErrors":[{"issues":[{"code":"invalid_union_discriminator","options":["arrow","nav","slide","Slider","slides","wrapper"],"path":[],"message":"Invalid discriminator value. Expected 'arrow' | 'nav' | 'slide' | 'Slider' | 'slides' | 'wrapper' (value: undefined)"}],"name":"ZodError"},{"issues":[{"code":"invalid_literal","expected":true,"path":[],"message":"Invalid literal value, expected true (value: undefined)"},{"code":"invalid_type","expected":"string","received":"undefined","path":["domNodes",126,"v"],"message":"Required"}],"name":"ZodError"}],"path":["domNodes",126],"message":"Invalid input"},{"code":"invalid_union","unionErrors":[{"issues":[{"code":"invalid_union_discriminator","options":["arrow","nav","slide","Slider","slides","wrapper"],"path":[],"message":"Invalid discriminator value. Expected 'arrow' | 'nav' | 'slide' | 'Slider' | 'slides' | 'wrapper' (value: undefined)"}],"name":"ZodError"},{"issues":[{"code":"invalid_literal","expected":true,"path":[],"message":"Invalid literal value, expected true (value: undefined)"},{"code":"invalid_type","expected":"string","received":"undefined","path":["domNodes",129,"v"],"message":"Required"}],"name":"ZodError"}],"path":["domNodes",129],"message":"Invalid input"}]

M
M
5 comments

yeah, thanks for raising Michael - unfortunately this has been a known bug for several months now. Its something that I've alerted the team on but I do not have an ETA on a fix.

@Matt I think I know how it's coming about. It has to do something with the off Relume elements such as others like Chalk and others. It seems that causes the issue, when I just use strictly Relume, the issue isn't there, but if you use another library, that's when it breaks.

interesting - I suppose that would make sense

I think a general idea would be designing/developing as much as Flowbase has into Relume components. That would not only fix this error, but also give us some nice components that Flowbase has. A lot of Flowbase components, just suck but there are a few that work nicely with Relume while others (Spark) don't.

Add a reply
Sign up and join the conversation on Slack