Nix NodeJS | 208 Members | |
| 60 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Nov 2023 | ||
| this is all weird as hell | 14:10:22 | |
| pretty much sums up how i'm feeling about sveltekit at this point | 14:10:34 | |
| (it's almost like they never expected it to be used outside of dev and in production) | 14:10:49 | |
In reply to @lily:lily.flowersfeels more like they just want to force you to use netlify or vercel | 14:11:13 | |
| or that, yeah | 14:11:24 | |
| anyways, I will never touch this crap again | 14:11:39 | |
| well first have to try if the systemd service works now | 14:11:49 | |
| I personally don't like yarn, but it'd be a significant undertaking to move to npm, this an old and slightly messy project | 14:12:38 | |
| understood | 14:12:45 | |
| * I personally don't like yarn, but it'd be a significant undertaking to move to npm, this is an old and slightly messy project | 14:12:48 | |
| i might have to see more of the package.json files though to better understand what you're needs are | 14:13:06 | |
| i feel like yarn makes everything more complicated if you do nix stuff | 14:13:18 | |
In reply to @peter-lustig:matrix.org(tbh that's on the nix side. yarn seems decent otherwise, but we don't have good yarn tooling yet and yarn2nix is, uh, a bit questionable) | 14:14:10 | |
| (pnpm seems better though so honestly i'd rather have pnpm tooling at this point...) | 14:14:28 | |
In reply to @lily:lily.flowersI just stay away from every single third party project that has to do with packaging, it makes everything so much more complicated | 14:15:47 | |
In reply to @lily:lily.flowersDo you think that instead of "manually" parsing the packages I should try mkYarnWorkspace to do it for me. What puzzles me that all workspace packages are symlinked to offlineCache node-modules but my project somehow cannot find it during build | 14:16:14 | |
| at this point i just wanna stay away from nodejs, but, uh, i feel that's probably not an option | 14:16:17 | |
In reply to @szucsitg:matrix.orgi've never used mkYarnWorskpace. it might be perfect though! I'd have to check | 14:16:37 | |
In reply to @szucsitg:matrix.org offlineCache and node_modules are different | 14:16:54 | |
| like, one is a yarn download cache | 14:17:05 | |
| and the other is built dependencies | 14:17:10 | |
| * and the other is built dependencies in a NODE_PATH layout | 14:17:19 | |
| everything works now, the systemd service and the nginx proxypass to redirect the domain there :) | 14:19:35 | |
| Okay, maybe it's because I'm override stuff in configurePhase. But without I got issue in buildphase | 14:19:44 | |
In reply to @szucsitg:matrix.orgAs I shared previously | 14:21:07 | |
| That's not a fully log, so it's hard to see what the actual error is. But regardless, it's hard to know what's wrong with your approach or what you might need without more concrete context :( | 14:22:31 | |
| Sharing the package.json files might help though | 14:22:35 | |
| (or if you just wanna share the whole thing that would probably be even more of a help) | 14:22:47 | |
| This is all the output I get on console from building the derivation. And this is unfortunately fully closed source, I'm not sure even if I could make a reproducible project | 14:24:41 | |
| Lily Foster: canot fetch deps hash now, is there some temp fix for this? Error: the server made an unrecoverable HTTP protocol violation Caused by: | 15:51:11 | |