7 Dec 2024 |
| fsagbuya joined the room. | 03:23:44 |
fsagbuya | 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 | * 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 | * 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 | * 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 | * 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 |
dish [Fox/It/She] | https://github.com/postcss/postcss-cli/blob/master/.npmrc | 21:05:18 |
dish [Fox/It/She] | I hate this 😭 | 21:05:30 |
| * dish [Fox/It/She] rattling the bars of my cage screaming "USE A LOCKFILE" | 21:06:31 |
| * dish [Fox/It/She] * rattling the bars of my cage screaming "USE A LOCKFILE!!" | 21:06:40 |
Emma [it/its] | just wait until you find out about NoVNC | 22:35:33 |
Emma [it/its] | https://github.com/novnc/noVNC/issues/1705 | 22:36:40 |
Emma [it/its] | they explicitly version all their dependencies as latest | 22:37:01 |
Emma [it/its] | https://github.com/novnc/noVNC/blob/master/package.json | 22:37:31 |
| Marie changed their profile picture. | 22:38:16 |
| Marie changed their profile picture. | 22:39:29 |
9 Dec 2024 |
Tomodachi94 (they/them) | In reply to@emma:rory.gay https://github.com/novnc/noVNC/blob/master/package.json That was painful to look at | 02:47:12 |
11 Dec 2024 |
| marijan changed their profile picture. | 14:20:32 |
dish [Fox/It/She] | considering dropping nodePackages.bower2nix since bower is not really a thing anymore and nothing in-tree uses it. Any arguments as to why it should stay? | 19:27:14 |
Winter | no | 19:27:36 |
Winter | kill it | 19:27:37 |
dish [Fox/It/She] | 🫡 | 19:28:07 |
Sandro 🐧 | thats not true | 19:28:35 |
Sandro 🐧 | https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/bower-modules/generic/default.nix#L46 | 19:28:39 |
Sandro 🐧 | and that is used by mediagoblin | 19:28:43 |
Tomodachi94 (they/them) | In reply to@pyrox:pyrox.dev considering dropping nodePackages.bower2nix since bower is not really a thing anymore and nothing in-tree uses it. Any arguments as to why it should stay? The only reason I can think of is that it's still maintained | 19:28:44 |
Tomodachi94 (they/them) | * The only reason I can think of is that it's still maintained (edit: and also because it's used in tree) | 19:29:00 |
dish [Fox/It/She] | In reply to@sandro:supersandro.de https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/bower-modules/generic/default.nix#L46 that's bower, not bower2nix | 19:29:08 |
dish [Fox/It/She] | wait | 19:29:21 |
dish [Fox/It/She] | im reading that wrong | 19:29:24 |