Nix NodeJS | 203 Members | |
| 58 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Nov 2023 | ||
| (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 | |
In reply to @peter-lustig:matrix.orgthat's a network error | 16:03:03 | |
| how recent is your nixpkgs revision? | 16:03:19 | |
| very recent | 16:03:27 | |
| updated yesterday i think | 16:03:32 | |
| is it happening every time? | 16:03:59 | |
| and is it same dep? | 16:04:07 | |
In reply to @peter-lustig:matrix.orglike updated from nix{os,pkgs}-unstable or master or something? | 16:04:29 | |
| yes nixos-unstable | 16:05:02 | |
| and only right now, never had that before | 16:05:11 | |
| if you try again does it still happen? | 16:05:30 | |
| that's generally a transient network issue somewhere | 16:05:43 | |
| yep | 16:06:03 | |
In reply to @lily:lily.flowersSame dep? | 16:06:16 | |