!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

207 Members
59 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
30 Jan 2024
@marie:marie.cologneMariei got another clue from a colleague, i forgot to delete the subpackage node_modules folders. that might explain the package lock differences12:47:34
@marie:marie.cologneMariebut it still throws an error when trying to run it, not sure if that is buildNpmPackage's fault12:48:36
@marie:marie.cologneMariei'll try to debug that another time12:49:32
@lily:lily.flowersLily Foster
In reply to @marie:marie.cologne
but it still throws an error when trying to run it, not sure if that is buildNpmPackage's fault
share log?
13:04:04
@marie:marie.cologneMarie

oh sorry, forgot to send

/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/node_modules/ajv-formats/src/index.ts:55
  ajv.opts.code.formats ??= _`require("ajv-formats/dist/formats").${exportName}`
           ^
TypeError: Cannot read properties of undefined (reading 'code')
    at addFormats (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/node_modules/ajv-formats/src/index.ts:55:12)
    at formatsPlugin (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/node_modules/ajv-formats/src/index.ts:42:3)
    at Function._instantiateAjv (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:256:27)
    at new AppiumSchema (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:102:30)
    at Function.create (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:114:24)
    at Object.<anonymous> (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/packages/appium/lib/schema/schema.js:663:35)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/nix/store/7v1595gwyl2lrsb9dx1n8f0vig81l454-appium-2.4.1/lib/node_modules/appium-monorepo/packages/appium/lib/config.js:9:1)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
13:08:34
31 Jan 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.03:35:49
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.06:21:18
1 Feb 2024
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/issues/27769715:02:30
@hexa:lossy.networkhexarip15:02:30
@hexa:lossy.networkhexaapparently we are already on 4.2.4, so no idea 😄 15:06:33
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
apparently we are already on 4.2.4, so no idea 😄
4.2 branch is still v1 lockfile, even 4.2.5
17:13:46
@hexa:lossy.networkhexayeah, no idea17:14:06
@hexa:lossy.networkhexafound this on the fediverse17:14:15
@lily:lily.flowersLily Fosterit will need to be fixed before 4.3 or something, presumably17:14:44
2 Feb 2024
@keiichi:matrix.org@keiichi:matrix.org

Is it expected for npm link to fail ? from a nix develop with buildNpmPackage

➜ npm link package.json 
npm ERR! code ENOENT
npm ERR! syscall mkdir
npm ERR! path /nix/store/d6lkbndr98lcn8spbqxfq52f2ldvqhks-nodejs-20.11.0/lib/node_modules/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, mkdir '/nix/store/d6lkbndr98lcn8spbqxfq52f2ldvqhks-nodejs-20.11.0/lib/node_modules/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 
12:59:02
@lily:lily.flowersLily Foster
In reply to @keiichi:matrix.org

Is it expected for npm link to fail ? from a nix develop with buildNpmPackage

➜ npm link package.json 
npm ERR! code ENOENT
npm ERR! syscall mkdir
npm ERR! path /nix/store/d6lkbndr98lcn8spbqxfq52f2ldvqhks-nodejs-20.11.0/lib/node_modules/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, mkdir '/nix/store/d6lkbndr98lcn8spbqxfq52f2ldvqhks-nodejs-20.11.0/lib/node_modules/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 
i just looked it up to double check, but npm link operates on the global prefix apparently (i.e. the dir node is "installed" to) so yeah without changing the prefix via npm config, it's not gonna do anything useful from nix
13:05:51
@lily:lily.flowersLily Foster(regardless of being in a dev shell, i imagine)13:06:07
@keiichi:matrix.org@keiichi:matrix.orgit seemed like it but I preferred to be sure ty13:06:59

Show newer messages


Back to Room ListRoom Version: 6