Closed martinetd closed 4 days ago
Grmbl after looking a bit it looks like the problem is some executable that's not running, because pnpm build
goes download some random binary from the internet and these don't run in nixos (in this case, .../rmfakecloud/ui/node_modules/.pnpm/sass-embedded-linux-x64@1.81.0/node_modules/sass-embedded-linux-x64/dart-sass/src/dart
)
I guess I'll have to figure out how to make pnpm build not try to run downloaded binaries :/
Probably not today though.. Anyway, closing this as it's not really rmfakecloud at fault here, let me just say I hate the javascript ecosystem...
done: https://github.com/NixOS/nixpkgs/pull/358324
if anyone stumbles on this, apparently just removing the node_modules/sass-embedded directory works around the problem /shrug
I'm trying to package the 0.0.22 for nixpkgs because of the regression described in #330, but the UI also got updated to vite apparently? and I can't seem to be able to build it manually.
Installed pnpm, tsc and nodejs, cleaning repo and building fails as follow:
This looks more like an error in a dep (react-pdf) due to version problem than something rmfakecloud can do about it (running
pnpm update
didn't help either), but if someone knows what this is about any help is appreciated..