Join the Webstudio community

Updated 4 months ago

Publish Fails

At a glance

A community member is unable to publish on any domain and cannot find any logs to review the issue. The community members discuss the problem, noting that it is related to new elements in the Page/:slug page and the footer with slots. The issue is identified as a problem with CSS variables, where the designer had inserted spaces in the variable names, causing an "Unknown word" error. The community members suggest adding validation when creating CSS variables to avoid this problem. They also provide a link to an issue on GitHub to track the progress of fixing this issue.

Useful resources
O
T
13 comments
This is something we need yet to display in the builder, logs are currently not available, but these cases are very rare and we are interested in fixing them asap.
I hope its soemthing really stupid and easy to fix
the new elements are the Page/:slug page and the whole footer with slots
it fails on CSS with an error Unknown word
just in case it helps you find it right now
seems my designer created global css variables
and inserted spaces
so like --bg color -
instead of --bg-color-
probably could use a validation when creating css variables to avoid the problem
thanks for the help
Add a reply
Sign up and join the conversation on Discord