Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71716 - [apm] 2.6.4-1 does not work

Attached to Project: Community Packages
Opened by lxgr (lxgr) - Tuesday, 03 August 2021, 16:56 GMT
Last edited by Nicola Squartini (tensor5) - Sunday, 08 August 2021, 00:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Nicola Squartini (tensor5)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
apm does not work, when using it to install a package, or just running it without any argument I get an error:
internal/modules/cjs/loader.js:1131
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: The module '/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1131:18)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/src/git.js:3:22)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)

This does not happen after building apm manually via ABS.

Steps to reproduce:
Run apm.

This task depends upon

Closed by  Nicola Squartini (tensor5)
Sunday, 08 August 2021, 00:27 GMT
Reason for closing:  Not a bug
Comment by Nicola Squartini (tensor5) - Sunday, 08 August 2021, 00:27 GMT
apm only works with latest nodejs (16.6), not with lts.

Loading...