!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

Load older messages


SenderMessageTime
2 Aug 2023
@robert:funklause.dedotlambda The root package.json is https://github.com/microsoft/pyright/blob/1.1.320/package.json
The merged lockfile is https://gist.github.com/dotlambda/cd8256d51625b2bae030f0a9624307f9
15:45:34
@lily:lily.flowersLily Foster
In reply to @robert:funklause.de
The root package.json is https://github.com/microsoft/pyright/blob/1.1.320/package.json
The merged lockfile is https://gist.github.com/dotlambda/cd8256d51625b2bae030f0a9624307f9
Pyright needs ^16.0.5 but it's not locked in the lockfile. Only the 17.0 version is
15:49:18
@lily:lily.flowersLily Foster For @types/yargs 15:49:37
@lily:lily.flowersLily FosterSo npm is trying to find and fetch a 16.x version probably15:49:49
@robert:funklause.dedotlambdaMakes sense. Thanks!15:51:16
@robert:funklause.dedotlambda Indeed, packages/pyright/package-lock.json specifies version 17.0.24 while the root lockfile specifies 16.0.5. 15:53:36
@adam:valkor.net@adam:valkor.net left the room.23:40:05
3 Aug 2023
@gdesforges:matrix.org@gdesforges:matrix.org joined the room.13:47:37
@gdesforges:matrix.org@gdesforges:matrix.orgheya!13:47:41
@gdesforges:matrix.org@gdesforges:matrix.orgI have an issue with mkYarnPackage's offline cache https://github.com/NixOS/nixpkgs/pull/244504#issuecomment-166113492113:47:56
@gdesforges:matrix.org@gdesforges:matrix.orgusing yarn.lock and yarn.nix works well, but trying to use offlineCache does not work13:48:20
@gdesforges:matrix.org@gdesforges:matrix.org I'd prefer to abide by Lily Foster 's comment and not push the lockfile to nixpkgs if possible :) 13:49:01
@gdesforges:matrix.org@gdesforges:matrix.org

does anyone have experience with this type of issue?

error: builder for '/nix/store/k0rmfjfr8km9drpikvmz3dj8dh5vxh3w-marp-team-marp-cli-modules-3.1.0.drv' failed with exit code 1;
...
Error: Couldn't find any versions for "rollup" that matches "^3.26.3" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.
13:49:50
@lily:lily.flowersLily Foster
In reply to @gdesforges:matrix.org

does anyone have experience with this type of issue?

error: builder for '/nix/store/k0rmfjfr8km9drpikvmz3dj8dh5vxh3w-marp-team-marp-cli-modules-3.1.0.drv' failed with exit code 1;
...
Error: Couldn't find any versions for "rollup" that matches "^3.26.3" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.
I was hoping to look at it later today (US Eastern tz), but hopefully someone might be able to help before then
13:52:18
@lily:lily.flowersLily FosterSorry I've been sparse...13:52:22
@gdesforges:matrix.org@gdesforges:matrix.orgDon't worry, your help is very much appreciated however sparse it is 😄 are you the most active member of nixpkgs on JS?13:53:34
@gdesforges:matrix.org@gdesforges:matrix.orgOr maybe even the owner of the JS infra of nixpkgs?13:53:54
@gdesforges:matrix.org@gdesforges:matrix.orgMust be lots of work haha13:54:04
@raitobezarius:matrix.orgraitobezarius(I think de-facto yes :D)14:07:08
4 Aug 2023
@gdamjan:spodeli.orggdamjan so, does anyone have any ideas why nodejs-slim depends on these -dev packages: 13:29:37
@gdamjan:spodeli.orggdamjanimage.png
Download image.png
13:29:38
@gdamjan:spodeli.orggdamjanicu4c-73.2-dev, openssl-3.0.9-dev, libuv-1.46.0-dev, zlib-1.2.13-dev 13:30:14
@raitobezarius:matrix.orgraitobezariusbecause nodejs still needs to compile stuff?13:34:57
@raitobezarius:matrix.orgraitobezariusvia nodejs-gyp I guess13:35:04
@gdesforges:matrix.org@gdesforges:matrix.orgMy wild guess would be... Try to remove them one by one and see if it breaks anything 😄13:35:14
@gdamjan:spodeli.orggdamjan
In reply to @raitobezarius:matrix.org
because nodejs still needs to compile stuff?
this is -slim which does not include npm
13:36:00
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
so, does anyone have any ideas why nodejs-slim depends on these -dev packages:
nix why-depends?
13:36:35
@raitobezarius:matrix.orgraitobezarius I remember roughly we had discussions about it with Lily Foster a long time ago 13:36:54
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
this is -slim which does not include npm
Yeah without npm and all of its bundled modules (e.g. node-gyp) it shouldn't need it
13:37:05
@lily:lily.flowersLily FosterDoes -slim include headers?13:37:14

Show newer messages


Back to Room ListRoom Version: 6