Forem Creators and Builders 🌱

Discussion on: This is the best optimization PR.

Collapse
 
djuber profile image
Daniel Uber • Edited

Forem's main branch is seeing the same thing (postcss processing fails) - it doesn't look like it's limited to your setup (but docker requiring the asset compilation to succeed might be blocking you in ways it's not blocking us).

I opened an issue about this (and am actively working to resolve the situation)
github.com/forem/forem/issues/14052

I believe this parse error you're seeing in the postcss_error.log happens after all the css files are generated (it's a post-processing step to handle backwards compatibility with browsers, among other things). But if you're blocked merging/updating that's a problem. One "work-around" in the meantime while we get this sorted would be to edit the package.json file's "postcss" script to not try to run on the files (the assets:precompile css files would be available, but not postprocessed), something like "postcss": "postcss --version", is enough to get it passing again (while not fixing anything).

However, if it's back to working for you (you reported that below) I would not do anything in the meantime.