!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
12 Jun 2023
@gdamjan:spodeli.orggdamjanah lol17:17:40
@gdamjan:spodeli.orggdamjandidn't see. your message 17:17:56
@gdamjan:spodeli.orggdamjan
In reply to @hexa:lossy.network
feel free to put in the work
well, I did something … but I'll need to confirm it's meaningful. also discovered they include typescript as a dependency, and not a devDependency (also react) - which all seems suboptimal :(
21:48:05
@gdamjan:spodeli.orggdamjan
./result/bin/matrix-appservice-irc
Usage:

Generating an application service registration file:
/nix/store/1dyx7vs2isj2yl81ik2f3zxzwp3l233p-nodejs-18.16.0/bin/node -r [-f /path/to/save/registration.yaml] -u 'http://localhost:6789' -c CONFIG_FILE [-l my-app-service]

Running an application service with an existing registration file:
/nix/store/1dyx7vs2isj2yl81ik2f3zxzwp3l233p-nodejs-18.16.0/bin/node -c CONFIG_FILE [-f /path/to/load/registration.yaml] [-p NUMBER]

their Usage handling seems not quite right :D

22:16:11
@gdamjan:spodeli.orggdamjan so, mkYarnPackage runs yarn install with --ignore-scripts - funnily enough wants to run the build in prepare matrix-appservice-irc https://github.com/matrix-org/matrix-appservice-irc/blob/1.0.0/package.json#L13 22:22:26
@gdamjan:spodeli.orggdamjan so now I need to re-introduce yarn build somewhere, postBuild I guess 22:22:53
13 Jun 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.20:55:50
14 Jun 2023
@raphi:tapesoftware.netraphi changed their display name from raphi (element unread channel fix when) to raphi.07:03:20
15 Jun 2023
@ulli:hrnz.lihrnz set a profile picture.22:19:53
20 Jun 2023
@lord-valen:matrix.orglord-valen joined the room.05:28:05
22 Jun 2023
@hexa:lossy.networkhexa
bokehjs> npm ERR! code ENOTCACHED
bokehjs> npm ERR! request to https://registry.npmjs.org/p-map failed: cache mode is 'only-if-cached' but no cached response is available.
11:13:59
@hexa:lossy.networkhexais this again due to lack of integrity hashes? https://github.com/bokeh/bokeh/blob/3.2.0/bokehjs/package-lock.json#L10111:14:35
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
    "make/node_modules/p-map": {
      "version": "4.0.0",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "aggregate-error": "^3.0.0"
      },
      "engines": {
        "node": ">=10"
      },
      "funding": {
        "url": "https://github.com/sponsors/sindresorhus"
      }
    },
ah well, been there already
11:17:59
@lily:lily.flowersLily FosterI actually do have an idea to deal with that, since it's so unfortunately common11:20:29
@lily:lily.flowersLily FosterNeed enough time to finish hashing out the implementation though (and got sucked into refactoring prefetch-npm-deps when working on it to make it easier)11:21:18
23 Jun 2023
@bl1nk:matrix.orgbl1nk changed their profile picture.21:49:25
28 Jun 2023
@lily:lily.flowersLily Foster
In reply to @denbrahe:matrix.org
Oh, that sounds great! Let me know if I can help with testing or something else!
We have retries now! (Sorry that took so long -- someone else was kind enough to submit a PR while I was still mucking around with getting isahc to work)
https://github.com/NixOS/nixpkgs/pull/238452
18:08:23
@denbrahe:matrix.orgdenbraheThat's great! Thanks for letting me know!18:46:54
@lily:lily.flowersLily Foster denbrahe: Would you be able to test this too and see if it works okay for you? https://github.com/NixOS/nixpkgs/pull/240419 21:45:14
@lily:lily.flowersLily Foster

By the way, for those following here, I made a project board this morning for the node team to keep track of what work needs to be done and what is being actively worked on: https://github.com/orgs/NixOS/projects/37

I still need to populate it with some old issues and PRs, but I've already started adding a few

22:20:42
29 Jun 2023
@denbrahe:matrix.orgdenbraheI can confirm that at least XYenon's "add retry" PR solves the issue for me. I'll try now with your PR.10:08:21
@denbrahe:matrix.orgdenbraheYour PR also works for me! Thank you very much!10:27:56
@gdamjan:spodeli.orggdamjan wait, there's fetchYarnDeps? how did I not see it before 22:35:08
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
wait, there's fetchYarnDeps? how did I not see it before
Yeah, that's actually existed longer than fetchNpmDeps
22:37:20
@gdamjan:spodeli.orggdamjanthat might help me bump matrix-appservice-irc, but it'd be a big refactor23:13:57
30 Jun 2023
@huantian:huantian.devhuantian joined the room.18:34:22
@huantian:huantian.devhuantian I'm having some weird build failures with my package aw-server-rust that depends on aw-webui, which is a Vue.js web app that uses buildNpmPackage to build.
The build step seems to hang indefinitely on "Building for production", and I'm not sure if this is an issue with buildNpmPackage or not.
https://hydra.nixos.org/job/nixpkgs/trunk/aw-server-rust.x86_64-linux seems to be broken on hydra and locally.
18:40:30
@lily:lily.flowersLily Foster
In reply to @huantian:huantian.dev
I'm having some weird build failures with my package aw-server-rust that depends on aw-webui, which is a Vue.js web app that uses buildNpmPackage to build.
The build step seems to hang indefinitely on "Building for production", and I'm not sure if this is an issue with buildNpmPackage or not.
https://hydra.nixos.org/job/nixpkgs/trunk/aw-server-rust.x86_64-linux seems to be broken on hydra and locally.
Can you try with npmFlags = [ "--verbose" ]; on the derivation and share build log?
18:41:29
@huantian:huantian.devhuantiansure18:41:40
@huantian:huantian.devhuantianDownload log.txt18:53:34

There are no newer messages yet.


Back to Room ListRoom Version: 6