User avatar
Senil 🍹 @senil@gts.social.senil.me
1mo
trying to set up and build nicolium using codeberg as the source for my Dockerfile and now I'm running into this fun error every build attempt, no matter how I wrangle pnpm...
[ERR_PNPM_PREPARE_PACKAGE] Failed to prepare git-hosted package fetched from "https://codeload.github.com/mkljczk/react-native-
paper/tar.gz/c44cb5e7cba4faaab68832bdc25b5ead42a90c94": @mkljczk/react-native-paper@6.0.0-alpha.1 yarn-install: `yarn install`




blegh.
2
0
0
0
User avatar
nicole 🔜 XVI P.I.W.O. @mkljczk@twojstary.gay
1mo
@senil sorry, I got used to the fact only one person builds nicolium and i can just not care about dependencies and have too much in. single repo :/
1
0
0
0
User avatar
Senil 🍹 @senil@gts.social.senil.me
1mo
@mkljczk lmao it's okay, this is very edge-case scenario for ya. It seems to specifically at the yarn install script where it breaks, I've been able to replicate it manually in both Node's alpine image and their Debian Trixie images (normal and slim).

It doesn't happen on my laptop when I build normally, I wonder if there's some other dependency that needs to exist that isn't in Node's images. Tried using both Node v22's Docker images as well as manually rigging up corepack in v26 Docker images.
1
0
0
0
User avatar
Senil 🍹 @senil@gts.social.senil.me
1mo
@mkljczk If there's just some other random dependency that I need to toss into the build image manually that's totally fine. The way its set up the build image doesn't get saved at all outside of the build cache so it's fine to me if it's a bit messier to handle extra dependencies that're needed.
1
0
0
0
User avatar
nicole 🔜 XVI P.I.W.O. @mkljczk@twojstary.gay
1mo
@senil I mean, it shouldn't really pull astro dependencies of the website and react-native deps of the WIP mobile app if you only care about web so I'll rethink the monorepo approach
0
0
1
0