!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

180 Members
51 Servers

Load older messages


SenderMessageTime
4 Dec 2024
@pyrox:pyrox.devdish [Fox/It/She]any thoughts?05:04:31
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@pyrox:pyrox.dev
I think that anything that's a library shouldn't be kept during the nodePackages removal. They're brought in by package managers, and nix shouldn't need to manage them. So I think dropping the tailwindcss plugins and others would be reasonable, as they aren't very easy to consume
I remember some sort of discussion or guideline that roughly states this
06:35:11
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @tomodachi94:matrix.org
I remember some sort of discussion or guideline that roughly states this
i figured there was, I just figured I'd let folks here know before I just drop a bunch more packages
06:36:34
@pyrox:pyrox.devdish [Fox/It/She]also I really can't decide what do fo with all of sindresorhus' packages, he doesn't put lockfiles in any of them and I'm really hesitant to vendor a bunch of lockfiles in nixpkgs(what with bundle size concerns and all, one of the reasons I'm trying to help trim nodePackages)06:37:53
@pyrox:pyrox.devdish [Fox/It/She]so we need to find some way to store lockfiles where we can pull them and not hit ifd that's also outside of nixpkgs06:38:27
@wst:imagisphe.re@wst:imagisphe.re left the room.15:21:12
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@pyrox:pyrox.dev
also I really can't decide what do fo with all of sindresorhus' packages, he doesn't put lockfiles in any of them and I'm really hesitant to vendor a bunch of lockfiles in nixpkgs(what with bundle size concerns and all, one of the reasons I'm trying to help trim nodePackages)
Yeah that annoyed me too, there's one of his packages that I especially care about and would repackage if not for the missing lockfile
15:45:29
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@pyrox:pyrox.dev
so we need to find some way to store lockfiles where we can pull them and not hit ifd that's also outside of nixpkgs
Or convince him to include lockfiles 🙃
15:50:01
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @tomodachi94:matrix.org
Or convince him to include lockfiles 🙃
prob won't happen cuz so many packages of his haven't been touched in years 🥴
16:07:36
@pyrox:pyrox.devdish [Fox/It/She]ugh the tailwind libraries are used by a single thing in-tree(emanote) and idk what to do to fix them 🙃20:35:01
5 Dec 2024
@tomasajt:matrix.orgToma joined the room.18:43:49
@tomasajt:matrix.orgToma

Anyone know how one can fix the missing symbol errors for electron-based applications?

One of the .node files can't find a symbol: undefined symbol: _ZN2v89Exception9TypeErrorENS_5LocalINS_6StringEEE

Looks like the bin/node executable has that symbol, but the libexec/electron executable only has a different, but similar symbol:
_ZN2v89Exception9TypeErrorENS_5LocalINS_6StringEEENS1_INS_5ValueEEE

How can these ABI difference issues be resolved?

19:25:26
@tomasajt:matrix.orgToma Okay, I just probably have to useelectron-rebuild properly. Will experiment a bit 20:22:51
6 Dec 2024
@tomodachi94:matrix.orgTomodachi94 (they/them) @dish [Fox/It/She] I started a nixpkgs-review run for all of your nodePackages PRs (and the msrestazure ones). I'll be away for about two hours but it should automatically comment on the PRs as the builds finish 02:54:06
@tomodachi94:matrix.orgTomodachi94 (they/them) @dish [Fox/It/She] I started a nixpkgs-review run for all of your nodePackages PRs (and the msrestazure ones). I'll be away for about two hours but it should automatically comment on the PRs as the builds finish. I'll take a peek probably later tonight or perhaps tomorrow 02:54:49
@tomodachi94:matrix.orgTomodachi94 (they/them) @dish [Fox/It/She] I started a nixpkgs-review run for all of your nodePackages PRs (and the msrestazure ones). I'll be away for about two hours but it should automatically comment on the PRs as the builds finish. I'll take a peek probably later tonight or perhaps tomorrow, if time allows 06:03:33
7 Dec 2024
@fsagbuya:matrix.orgfsagbuya joined the room.03:23:44
@fsagbuya:matrix.orgfsagbuya

Hi. I'm trying to build mattermost webapp from source but keep running into thenpm error code ENOTCACHED. This happens even though I'm using a package-lock.json file that includes the resolved and integrity fields.

Here is Nix my derivation:

{
  lib,
  buildNpmPackage,
  fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "mattermost-webbapp";
  version = "9.11.5";

  src = fetchFromGitHub {
    owner = "mattermost";
    repo = "mattermost";
    rev = "v${version}";
    hash = "sha256-bLZFeG6kBVP0ws50wtBam/bO206sQnz6va8PATAoRAQ=";
  };
  
  sourceRoot = "${src.name}/webapp";
  patches = [./fix-package-lock-json.patch ];

  dontNpmBuild = true;
  makeCacheWritable = true;
  forceGitDeps = true;

  npmDepsHash = "sha256-ODlqjBZIrvZXtxtIG/CLISf2faAGG1bwFmgd0aUECOQ=";


Can you help me understand why this error is occurring and how I can resolve it?

03:45:00
@fsagbuya:matrix.orgfsagbuya *

Hi. I'm trying to build mattermost webapp from source but keep running into the npm error code ENOTCACHED. This happens even though I'm using a package-lock.json file that includes the resolved and integrity fields.

Here is Nix my derivation:

{
  lib,
  buildNpmPackage,
  fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "mattermost-webbapp";
  version = "9.11.5";

  src = fetchFromGitHub {
    owner = "mattermost";
    repo = "mattermost";
    rev = "v${version}";
    hash = "sha256-bLZFeG6kBVP0ws50wtBam/bO206sQnz6va8PATAoRAQ=";
  };
  
  sourceRoot = "${src.name}/webapp";
  patches = [./fix-package-lock-json.patch ];

  dontNpmBuild = true;
  makeCacheWritable = true;
  forceGitDeps = true;

  npmDepsHash = "sha256-ODlqjBZIrvZXtxtIG/CLISf2faAGG1bwFmgd0aUECOQ=";


Can you help me understand why this error is occurring and how I can resolve it?

03:45:46
@fsagbuya:matrix.orgfsagbuya *

Hi. I'm trying to build mattermost webapp from source but keep running into the npm error code ENOTCACHED. This happens even though I'm using a package-lock.json file that includes the resolved and integrity fields.

Here is Nix my derivation:

{
  lib,
  buildNpmPackage,
  fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "mattermost-webbapp";
  version = "9.11.5";

  src = fetchFromGitHub {
    owner = "mattermost";
    repo = "mattermost";
    rev = "v${version}";
    hash = "sha256-bLZFeG6kBVP0ws50wtBam/bO206sQnz6va8PATAoRAQ=";
  };
  
  sourceRoot = "${src.name}/webapp";
  patches = [./fix-package-lock-json.patch ];

  dontNpmBuild = true;
  makeCacheWritable = true;
  forceGitDeps = true;

  npmDepsHash = "sha256-ODlqjBZIrvZXtxtIG/CLISf2faAGG1bwFmgd0aUECOQ=";


Can you help me understand why this error is occurring and how I can resolve it?

Detailed error log: https://gist.github.com/fsagbuya/aadbe79e3b791c5c82e5bb917e2ca63d

03:49:30
@fsagbuya:matrix.orgfsagbuya *

Hi. I'm trying to build mattermost webapp from source but keep running into the npm error code ENOTCACHED. This happens even though I'm using a package-lock.json file that includes the resolved and integrity fields.

Here is Nix my derivation:

{
  lib,
  buildNpmPackage,
  fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "mattermost-webbapp";
  version = "9.11.5";

  src = fetchFromGitHub {
    owner = "mattermost";
    repo = "mattermost";
    rev = "v${version}";
    hash = "sha256-bLZFeG6kBVP0ws50wtBam/bO206sQnz6va8PATAoRAQ=";
  };
  
  sourceRoot = "${src.name}/webapp";
  patches = [./fix-package-lock-json.patch ];

  dontNpmBuild = true;
  makeCacheWritable = true;
  forceGitDeps = true;

  npmDepsHash = "sha256-ODlqjBZIrvZXtxtIG/CLISf2faAGG1bwFmgd0aUECOQ=";


Can you help me understand why this error is occurring and how I can resolve it?

Detailed error log: https://gist.github.com/fsagbuya/aadbe79e3b791c5c82e5bb917e2ca63d
fix-package-lock-json.patch: https://gist.github.com/fsagbuya/59fac03fc17a876393632c1c92f4184a

03:51:59
@fsagbuya:matrix.orgfsagbuya *

Hi. I'm trying to build mattermost webapp from source but keep running into the npm error code ENOTCACHED. This happens even though I'm using a package-lock.json file that includes the resolved and integrity fields.

Here is Nix my derivation:

{
  lib,
  buildNpmPackage,
  fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "mattermost-webapp";
  version = "9.11.5";

  src = fetchFromGitHub {
    owner = "mattermost";
    repo = "mattermost";
    rev = "v${version}";
    hash = "sha256-bLZFeG6kBVP0ws50wtBam/bO206sQnz6va8PATAoRAQ=";
  };
  
  sourceRoot = "${src.name}/webapp";
  patches = [./fix-package-lock-json.patch ];

  dontNpmBuild = true;
  makeCacheWritable = true;
  forceGitDeps = true;

  npmDepsHash = "sha256-ODlqjBZIrvZXtxtIG/CLISf2faAGG1bwFmgd0aUECOQ=";


Can you help me understand why this error is occurring and how I can resolve it?

Detailed error log: https://gist.github.com/fsagbuya/aadbe79e3b791c5c82e5bb917e2ca63d
fix-package-lock-json.patch: https://gist.github.com/fsagbuya/59fac03fc17a876393632c1c92f4184a

04:35:57
8 Dec 2024
@pyrox:pyrox.devdish [Fox/It/She]https://github.com/postcss/postcss-cli/blob/master/.npmrc21:05:18
@pyrox:pyrox.devdish [Fox/It/She]I hate this 😭21:05:30
* @pyrox:pyrox.devdish [Fox/It/She] rattling the bars of my cage screaming "USE A LOCKFILE"21:06:31
* @pyrox:pyrox.devdish [Fox/It/She] * rattling the bars of my cage screaming "USE A LOCKFILE!!"21:06:40
@emma:rory.gayEmma [it/its]just wait until you find out about NoVNC22:35:33
@emma:rory.gayEmma [it/its] https://github.com/novnc/noVNC/issues/1705 22:36:40
@emma:rory.gayEmma [it/its] they explicitly version all their dependencies as latest 22:37:01
@emma:rory.gayEmma [it/its] https://github.com/novnc/noVNC/blob/master/package.json 22:37:31

Show newer messages


Back to Room ListRoom Version: 6