Cannot build website without lessc #2 #5182
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Similar to #998 but with the current toolchain. I'm, on ArchLinx and I have
libxml2libxsltdependencies.It's possible to pass
--build-env developmentto theuv run buildcommand? Or any other way to skip thelessccompilation?I would prefer not to install
npm-less.ERROR:
FileNotFoundError: [Errno 2] No such file or directory: 'lessc'So, --build-env has been deprecated and removed.
I would not worry too much about looking at build system issues older than about 4 months, as at that point we rewrote the whole thing from bash to python. As part of that we dropped quite a lot of complexity and options.
We now always compile the less content, so unfortunately there is no way to avoid it.
We aim to migrate to sass at some point as part of the bootstrap upgrade, which would solve the node-less issue.
Alternatively, we could reimplement the less stuff. We removed it as it required adding a script to all pages to render the less dynamically for dev builds, which was messy and allowed for a few errors to slip through, as dev and prod rendering workflow was a little different.
Of course, you can always use the nix-shell (as I do), but that's not really a solution to reducing our dependency tree.
OK, thanks. I will try to play a bit with the build system and if I get something interesting send a PR to improve the documentation from a newcomer point of view.
Right now first would be to add
lesscto the dependencies, but I would wait until I have something working.