[bookbrainz-site] 14MonkeyDo opened pull request #1194 (03master…admin-panel-user-link): chore(admin-panel): Link to user with /user/name or /editor/id https://github.com/metabrainz/bookbrainz-site/pul…
2025-11-14 31857, 2025
bitmap[m]
ah well, I guess it's not really possible to run this outside of Docker anyway, since there are several hardcoded paths to /static/ throughout the code
2025-11-14 31838, 2025
monkey[m]
bitmap[m]: If memory serves, I've seen this when compilation of the less/sass files fails, so I would start by checking compilation manually, and see if you get an error message that can put you on the right track.
2025-11-14 31838, 2025
monkey[m]
It's the worse error message I've ever seen, basically the css preprocessor's dying gurgle instead of reporting a compilation error.
it doesn't like floor(30px / 2) I guess. though all of this is code from 2014, dunno why it fails for me and not in prod (?)
2025-11-14 31841, 2025
monkey[m]
Huh.
2025-11-14 31853, 2025
monkey[m]
Quick check on some random online less compiler doesn't complain...
2025-11-14 31855, 2025
monkey[m] uploaded an image: (112KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/cTolfxjlakmQsAgrdpjqaLVb/image.png >
2025-11-14 31813, 2025
bitmap[m]
ah, it depends on the math mode - parens-division is the default in 4.x. but "less": "^4.1.1" has been in package.json since 2023 so I'm still not sure why that doesn't fail in prod
2025-11-14 31830, 2025
bitmap[m]
* ah, it depends on the [math mode](https://lesscss.org/usage/#less-options-mat… - `parens-division` is the default in 4.x. but `"less": "^4.1.1"` has been in package.json since 2023 so I'm still not sure why that doesn't fail in prod
2025-11-14 31859, 2025
ansh[m] has quit
2025-11-14 31838, 2025
v6lur joined the channel
2025-11-14 31854, 2025
lucifer[m]
bitmap: yeah not sure why it works in docker but not outisde but feel free to change the css if it fixes it
2025-11-14 31820, 2025
bitmap[m]
I think it was a red herring, since even though fixing the parens lets me compile the css manually, it doesn't fix the webpack path error (and the webpack config does specify math: "always" in lessOptions)