[artix-general] Nodejs 22.0.0 hitting regression bug, can a patch for the fix be applied, or revert the package to 21.7.3?

Javier je-vv at e.email
Mon May 6 22:38:36 CEST 2024


Hello !

Currently artix has:

> world/nodejs 22.0.0-1 [installed]

However, 22.0.0 hits a regression issue when building packages [1]. That was fixed on PR already merged [2], and in particular on already merged commit [3].  A patch can be provided with that fix, like creating 22.0.0-2.  Or the package could be reverted to 21.7.3 which is the version currently used on arch/extra:

> extra/nodejs 21.7.3-1 [installed: 22.0.0-1]

This prevents building packages, which in turn build with gulp [4], and provoke errors like:

> error /home/<userename>/.pkgs/src/laur/<package>/src/<package>/node_modules/guppy-pre-commit: Command failed.
> Exit code: 1
> Command: guppy pre-commit
> Arguments:
> Directory: /home/<username>/.pkgs/src/laur/<package>/src/<package>/node_modules/guppy-pre-commit
> Output:
> /home/<username>/.pkgs/src/laur/<package>/src/<package>/node_modules/guppy-cli/node_modules/vinyl-fs/lib/fileOperations.js:150
>           file.stat.atime = timesDiff.atime;
>                           ^
> 
> TypeError: Cannot assign to read only property 'atime' of object '#<Stats>'
>     at onFutimes (/home/<general>/.pkgs/src/laur/<package>/src/<package>/node_modules/guppy-cli/node_modules/vinyl-fs/lib/fileOperations.js:150:27)

Thanks a lot !

-- 
Javier

[1]  https://github.com/nodejs/node/issues/52707
[2]  https://github.com/nodejs/node/pull/52708
[3]  https://github.com/nodejs/node/pull/52708/commits/b591ff41dc31271b7c2bbe658ca9a08f274b530c
[4]  https://github.com/gulpjs/vinyl-fs/issues/350
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20240506/115a76be/attachment-0001.sig>


More information about the artix-general mailing list