!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

186 Members
54 Servers

Load older messages


SenderMessageTime
2 Sep 2025
@charles:computer.surgeryCharlesoh good find, yeah that seems likely: https://github.com/zulip/zulip/blob/10.4/tools/webpack#L1823:23:23
@charles:computer.surgeryCharles* oh good find, yeah that seems pluasible: https://github.com/zulip/zulip/blob/10.4/tools/webpack#L1823:23:36
@charles:computer.surgeryCharles hmm, changing it to --no-... or just commenting that out doesn't seem to fix it 23:28:03
@charles:computer.surgeryCharlessame error all three ways23:28:44
3 Sep 2025
@amaan:amaanq.comamaan joined the room.07:38:39
@ghpzin:envs.netghpzin joined the room.09:30:29
@eyjhb:eyjhb.dkeyJhb

I'm currently trying to update my PR with appium to v3, which means I need to generate a new package-lock.json file, which has all the hashes needed.
However, the dependency ajv seems to be the wrong version, which gives me errors when trying to run the project.

I'm currently doing something like:

git clone https://github.com/appium/appium.git
cd appium
git checkout appium@3.0.1
rm package-lock.json
npm install

I can see that the correct version is specified in the packages/appium/package.json, ... that doesn't seem to be used.

Version from the repo: https://github.com/appium/appium/blob/appium%403.0.1/package-lock.json#L4364-L4379
Version I produce: https://gist.github.com/eyJhb/9ec8d24275b1c96f5486feb1d7555ccf#file-package-lock-json-L4163-L4178

Error while trying to run appium

/nix/store/8zh927f5wq7h5nz8ma07wggcr0gbc6v7-appium-unwrapped-3.0.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:257
      new Ajv({
      ^
TypeError: ajv_1.Ajv is not a constructor
    at Function._instantiateAjv (/nix/store/8zh927f5wq7h5nz8ma07wggcr0gbc6v7-appium-unwrapped-3.0.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:257:7)
    at new AppiumSchema (/nix/store/8zh927f5wq7h5nz8ma07wggcr0gbc6v7-appium-unwrapped-3.0.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:102:30)
    at Function.create (/nix/store/8zh927f5wq7h5nz8ma07wggcr0gbc6v7-appium-unwrapped-3.0.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:114:24)
    at Object.<anonymous> (/nix/store/8zh927f5wq7h5nz8ma07wggcr0gbc6v7-appium-unwrapped-3.0.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:663:35)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10)
    at Module.load (node:internal/modules/cjs/loader:1289:32)
    at Function._load (node:internal/modules/cjs/loader:1108:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/nix/store/8zh927f5wq7h5nz8ma07wggcr0gbc6v7-appium-unwrapped-3.0.1/lib/node_modules/appium-monorepo/packages/appium/lib/config.js:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10)
    at Module.load (node:internal/modules/cjs/loader:1289:32)
10:40:44
@eyjhb:eyjhb.dkeyJhb

Running npm install --workspaces in the latest docker node container, I get these warnings.

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @sidvind/better-ajv-errors@4.0.0
npm warn Found: ajv@8.17.1
npm warn node_modules/ajv
npm warn   overridden ajv@"8.17.1" (was "^8.0.0") from ajv-formats@3.0.1
npm warn   node_modules/ajv-formats
npm warn     ajv-formats@"3.0.1" from appium@3.0.1
npm warn     packages/appium
npm warn   1 more (appium)
npm warn
npm warn Could not resolve dependency:
npm warn peer overridden ajv@"8.17.1" (was "^7.0.0 || ^8.0.0") from @sidvind/better-ajv-errors@4.0.0
npm warn packages/appium/node_modules/@sidvind/better-ajv-errors
npm warn   @sidvind/better-ajv-errors@"4.0.0" from appium@3.0.1
npm warn   packages/appium

Might help some. God I hate npm/node

10:45:49
@eyjhb:eyjhb.dkeyJhb
nix-shell -p nodejs lerna
lerna clean
rm package-lock.json
npm install --workspaces --package-lock-only --ignore-scripts

This seems to work. Fucking hell. Might not have cleaned everything up? Maybe?

11:06:23
@eyjhb:eyjhb.dkeyJhb ( Marie if you're curious ^ ) 11:06:32
@marie:marie.cologneMarienice you got it to work13:01:56
@marie:marie.cologneMarieit's insane how npm doesn't consider all of this a bug13:02:22
@stephen:crabsin.spacen3tcatnpm is the bug :313:33:56
@eyjhb:eyjhb.dkeyJhb I think it's very much a "works on my system". Like, we had to make a damn man in the middle proxy for Gradle last time I checked, because it's quite clearly insane :D 15:19:50
@eyjhb:eyjhb.dkeyJhbBut thanks for rubber duckying me in PMs Marie, very much appreciated! I really want to get Appium upstreamed, so that other can use it, and most importantly, so I don't have to maintain it myself :p15:20:28
@stephen:crabsin.spacen3tcat 19:43:18
@stephen:crabsin.spacen3tcat 19:43:20
@stephen:crabsin.spacen3tcat 19:43:52
@stephen:crabsin.spacen3tcat 19:43:52
@stephen:crabsin.spacen3tcat 19:44:02
4 Sep 2025
@aidalgol:tchncs.deaidalgol changed their display name from Aidan Gauland to aidalgol[m].11:23:30
@aidalgol:tchncs.deaidalgol changed their display name from aidalgol[m] to aidalgol.11:24:12
5 Sep 2025
@ayatsfer:matrix.org@ayatsfer:matrix.org left the room.11:23:00
6 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Ever OOMed by Element) to SomeoneSerge (@nixcon & back on matrix).09:24:34
7 Sep 2025
@ab-kein:matrix.orgAb Kein joined the room.04:51:50
9 Sep 2025
@amaan:amaanq.comamaan set a profile picture.07:59:21
@amaan:amaanq.comamaan changed their profile picture.07:59:36
@amaan:amaanq.comamaan changed their profile picture.07:59:55
10 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (@nixcon & back on matrix) to SomeoneSerge (back on matrix).00:38:07
12 Sep 2025
@aidalgol:tchncs.deaidalgol set a profile picture.09:21:40

There are no newer messages yet.


Back to Room ListRoom Version: 6