!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

206 Members
59 Servers

Load older messages


SenderMessageTime
17 May 2023
@lily:lily.flowersLily Foster Time to add some debug logging and figure out what that cacache function is getting called with... hopefully it's not a bug, but npm having a ton of silently broken things because of their silently-bail-out-and-refetch logic all over the place is not news 21:55:58
@lily:lily.flowersLily Foster (like their hosted tarball url thing for gitlab is just straight up wrong and they have no intentions to fix it -- so when you do gitlab: deps they're unnecessarily way slower than any other hosted git provider because it tries the tarball, fails, and falls back to checkouts through complicated spaghetti code paths) 21:57:00
@lily:lily.flowersLily Foster(so it's "not a problem" because it handles it I guess)21:57:21
@hexa:lossy.networkhexayikes 😄22:02:00
@hexa:lossy.networkhexahttps://github.com/bokeh/bokeh/blob/branch-3.2/bokehjs/package.json#L29-L3222:10:50
@hexa:lossy.networkhexaI'm not quite sure which of these workspaces is the interesting one22:11:04
@lily:lily.flowersLily Foster Okay. So. This isn't actually an issue with workspaces. I looked in the lockfile to make sure it existed with more than nothing in it. But I must be tired because while it's present, it's actually just missing integrity and resolved fields 22:11:19
@lily:lily.flowersLily Foster * Okay. So. This isn't actually an issue with workspaces. I looked in the lockfile to make sure the p-map dep existed with more than nothing in it. But I must be tired because while it's present, it's actually just missing integrity and resolved fields 22:11:31
@lily:lily.flowersLily FosterSo this lockfile needs to be deleted and regenerated22:12:24
@lily:lily.flowersLily Fosterhttps://github.com/bokeh/bokeh/blob/branch-3.2/bokehjs/package-lock.json#L101-L11422:12:31
@hexa:lossy.networkhexa(django-hijack is finished btw :))22:12:38
@hexa:lossy.networkhexarough, not going to commit a 143 kB lock file into nixpkgs ;D22:12:56
@hexa:lossy.networkhexa * rough, not going to commit a 143 kB lock file into nixpkgs 😄22:12:58
@lily:lily.flowersLily Fosternpm still will not do automatic fixup of this issue: https://github.com/npm/cli/issues/446022:13:13
@lily:lily.flowersLily FosterWhich is dumb22:13:20
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
rough, not going to commit a 143 kB lock file into nixpkgs 😄
Yeah the lockfile committing to nixpkgs across multiple ecosystems has been a bit unfortunate (the node2nix node-packages.nix files included)... You could submit a PR to fix the lockfile and fetchpatch the PR if you are so inclined, to avoid that
22:16:28
@hexa:lossy.networkhexaalright22:16:41
@lily:lily.flowersLily Foster But there's no reproducible way to handle that as-is. Except maybe doing something like how importCargoLock handles git deps with the extra hashes and hope and pray the version exists in the registry 22:17:29
@hexa:lossy.networkhexa

npm install --package-lock

22:17:44
@lily:lily.flowersLily Fosternpm is pretty hecked22:17:48
@hexa:lossy.networkhexathat did nothing to the lock file22:18:02
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network

npm install --package-lock

The problem is that won't fix it by default. Only remedy I'm aware of is deleting and relocking everything
22:18:12
@hexa:lossy.networkhexaoh ok22:18:19
@lily:lily.flowersLily Foster(if npm fixed it up during install then it wouldn't be such a problem)22:18:26
@lily:lily.flowersLily Foster(because eventually all of those missing details would be filled in and the updated lockfiles would get committed)22:18:44
@lily:lily.flowersLily FosterWe could probably check for this case, though, and produce a better error message22:19:00
@hexa:lossy.networkhexaplease 😄22:19:15
@lily:lily.flowersLily FosterHmmm I'll add that to the todo list: a message that says "please bug upstream to recreate their lockfile, it's horribly busted and will not work"22:19:31
@hexa:lossy.networkhexaehhk, it uses different versions for things now22:20:05
@hexa:lossy.networkhexanot surprising, but still22:20:25

Show newer messages


Back to Room ListRoom Version: 6