-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Package doesn't work/ I use Windows 10, wsl, Ubuntu 24.
$ npm install -g archpkg
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm error code 127
npm error path /usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/archpkg/node_modules/zlib
npm error command failed
npm error command sh -c node-waf clean || true; node-waf configure build
npm error sh: 1: node-waf: not found
npm error sh: 1: node-waf: not found
Logs:
379 http cache zlib@https://nexus.dev.xxx.local/repository/npm-registry/zlib/-/zlib-1.0.5.tgz 0ms (cache hit)
380 http cache aws-sign2@https://nexus.dev.xxx.local/repository/npm-registry/aws-sign2/-/aws-sign2-0.7.0.tgz 0ms (cache hit)
381 http cache yaml@https://nexus.dev.xxx.local/repository/npm-registry/yaml/-/yaml-2.7.0.tgz 0ms (cache hit)
382 http cache tar@https://nexus.dev.xxx.local/repository/npm-registry/tar/-/tar-6.2.1.tgz 0ms (cache hit)
383 http cache semver@https://nexus.dev.xxx.local/repository/npm-registry/semver/-/semver-7.6.3.tgz 0ms (cache hit)
384 http cache request@https://nexus.dev.xxx.local/repository/npm-registry/request/-/request-2.88.2.tgz 0ms (cache hit)
385 http cache archpkg@https://nexus.dev.xxx.local/repository/npm-registry/archpkg/-/archpkg-1.0.36.tgz 0ms (cache hit)
386 warn deprecated har-validator@5.1.5: this library is no longer supported
387 warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
388 warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
389 info run zlib@1.0.5 preinstall node_modules/archpkg/node_modules/zlib node-waf clean || true; node-waf configure build
390 info run zlib@1.0.5 preinstall { code: 127, signal: null }
391 verbose stack Error: command failed
391 verbose stack at promiseSpawn (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
391 verbose stack at spawnWithShell (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
391 verbose stack at promiseSpawn (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
391 verbose stack at runScriptPkg (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
391 verbose stack at runScript (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
391 verbose stack at /usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
391 verbose stack at run (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
391 verbose stack at /usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
391 verbose stack at new Promise (<anonymous>)
391 verbose stack at callLimit (/usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
392 verbose pkgid zlib@1.0.5
393 error code 127
394 error path /usr/local/share/nvm/versions/node/v22.13.1/lib/node_modules/archpkg/node_modules/zlib
395 error command failed
396 error command sh -c node-waf clean || true; node-waf configure build
397 error sh: 1: node-waf: not found
397 error sh: 1: node-waf: not found
398 silly unfinished npm timer reify 1737542849495
399 silly unfinished npm timer reify:build 1737542849957
400 silly unfinished npm timer build 1737542849957
401 silly unfinished npm timer build:deps 1737542849958
402 silly unfinished npm timer build:run:preinstall 1737542849960
403 silly unfinished npm timer build:run:preinstall:node_modules/archpkg/node_modules/zlib 1737542849960
404 verbose cwd /workspaces/seaf-dzo-example
405 verbose os Linux 5.15.167.4-microsoft-standard-WSL2
406 verbose node v22.13.1
407 verbose npm v10.9.2
408 verbose exit 127
409 verbose code 127
I think zlib is a module that's already included with Node.js. It doesn't need to be installed separately via npm.
Metadata
Metadata
Assignees
Labels
No labels