!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

201 Members
57 Servers

Load older messages


SenderMessageTime
12 Nov 2023
@lily:lily.flowersLily Fosterso, i do apologize for that14:09:56
@lily:lily.flowersLily Foster(also the docs didn't make any sense)14:10:04
@lily:lily.flowersLily Foster(as well)14:10:10
@peter-lustig:matrix.orgpeter-lustigthis is all weird as hell14:10:22
@lily:lily.flowersLily Fosterpretty much sums up how i'm feeling about sveltekit at this point14:10:34
@lily:lily.flowersLily Foster(it's almost like they never expected it to be used outside of dev and in production)14:10:49
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers
(it's almost like they never expected it to be used outside of dev and in production)
feels more like they just want to force you to use netlify or vercel
14:11:13
@lily:lily.flowersLily Fosteror that, yeah14:11:24
@peter-lustig:matrix.orgpeter-lustiganyways, I will never touch this crap again14:11:39
@peter-lustig:matrix.orgpeter-lustigwell first have to try if the systemd service works now14:11:49
@szucsitg:matrix.orgszucsitg 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
@lily:lily.flowersLily Fosterunderstood14:12:45
@szucsitg:matrix.orgszucsitg* I personally don't like yarn, but it'd be a significant undertaking to move to npm, this is an old and slightly messy project14:12:48
@lily:lily.flowersLily Fosteri might have to see more of the package.json files though to better understand what you're needs are14:13:06
@peter-lustig:matrix.orgpeter-lustigi feel like yarn makes everything more complicated if you do nix stuff14:13:18
@lily:lily.flowersLily Foster
In reply to @peter-lustig:matrix.org
i feel like yarn makes everything more complicated if you do nix stuff
(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
@lily:lily.flowersLily Foster(pnpm seems better though so honestly i'd rather have pnpm tooling at this point...)14:14:28
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers
(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)
I 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
@szucsitg:matrix.orgszucsitg
In reply to @lily:lily.flowers
i might have to see more of the package.json files though to better understand what you're needs are
Do 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
@lily:lily.flowersLily Fosterat this point i just wanna stay away from nodejs, but, uh, i feel that's probably not an option14:16:17
@lily:lily.flowersLily Foster
In reply to @szucsitg:matrix.org
Do 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
i've never used mkYarnWorskpace. it might be perfect though! I'd have to check
14:16:37
@lily:lily.flowersLily Foster
In reply to @szucsitg:matrix.org
Do 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
offlineCache and node_modules are different
14:16:54
@lily:lily.flowersLily Fosterlike, one is a yarn download cache14:17:05
@lily:lily.flowersLily Fosterand the other is built dependencies14:17:10
@lily:lily.flowersLily Foster * and the other is built dependencies in a NODE_PATH layout14:17:19
@peter-lustig:matrix.orgpeter-lustigeverything works now, the systemd service and the nginx proxypass to redirect the domain there :)14:19:35
@szucsitg:matrix.orgszucsitgOkay, maybe it's because I'm override stuff in configurePhase. But without I got issue in buildphase14:19:44
@szucsitg:matrix.orgszucsitg
In reply to @szucsitg:matrix.org

Like this:


error: builder for '/nix/store/2wh00drgf8sxhx6k8z7sx9fsbw35jb4y-account-settings-modules-1.0.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/9xvqxvm2hr9dq1d487zww0zywmnaa007-account-settings-1.0.0.drv' failed to build
error (ignored): error: cannot unlink '/private/tmp/nix-build-accept-shared-modules-1.0.0.drv-6/yarn_home/Library/Caches/Yarn/v6/npm-core-js-3.31.0-4471dd33e366c79d8c0977ed2d940821719db344-integrity/node_modules/core-js/internals': Directory not empty
error (ignored): error: cannot unlink '/private/tmp/nix-build-web-client-modules-4.123.0.drv-0/yarn_home/Library/Caches/Yarn/v6/npm-core-js-pure-3.31.0-052fd9e82fbaaf86457f5db1fadcd06f15966ff2-integrity/node_modules/core-js-pure/modules': Directory not empty
error: 1 dependencies of derivation '/nix/store/6il46rk23vm78ly4n5fiv63dghb6mh7d-frontend.drv' failed to build
As I shared previously
14:21:07
@lily:lily.flowersLily FosterThat'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
@lily:lily.flowersLily FosterSharing the package.json files might help though14:22:35

Show newer messages


Back to Room ListRoom Version: 6