Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

procLog.pause is not a function #3078

Open
Leone25 opened this issue Oct 8, 2024 · 0 comments
Open

procLog.pause is not a function #3078

Leone25 opened this issue Oct 8, 2024 · 0 comments

Comments

@Leone25
Copy link

Leone25 commented Oct 8, 2024

  • Node Version: v22.8.0 (also tried v18.20.4) - npm v10.8.3
  • Platform: Linux 6.6.52-1-MANJARO x86_64 GNU/Linux
  • Compiler: gcc version 14.2.1 20240910
  • Module: speaker (but it gives the same error with any module that i try to install)
Verbose output (from npm or node-gyp):
>npm i --verbose speaker
npm verbose cli /usr/bin/node /usr/bin/npm
npm info using [email protected]
npm info using [email protected]
npm verbose title npm i speaker
npm verbose argv "i" "--loglevel" "verbose" "speaker"
npm verbose logfile logs-max:10 dir:/home/enrico/.npm/_logs/2024-10-08T06_25_07_136Z-
npm verbose logfile /home/enrico/.npm/_logs/2024-10-08T06_25_07_136Z-debug-0.log
npm verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
npm http fetch GET 200 https://registry.npmjs.org/speaker 1031ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/buffer-alloc 157ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/buffer-alloc-unsafe 146ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/buffer-fill 406ms (cache revalidated)
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/fsevents
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-win32-x64-msvc
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-win32-ia32-msvc
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-win32-arm64-msvc
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-s390x-gnu
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-riscv64-gnu
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-powerpc64le-gnu
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-arm64-musl
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-arm64-gnu
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-arm-musleabihf
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-linux-arm-gnueabihf
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-darwin-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-darwin-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-android-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@rollup/rollup-android-arm-eabi
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/win32-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/win32-ia32
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/win32-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/sunos-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/openbsd-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/netbsd-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-s390x
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-riscv64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-ppc64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-mips64el
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-loong64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-ia32
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/linux-arm
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/freebsd-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/freebsd-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/darwin-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/darwin-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/android-x64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/android-arm64
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/android-arm
npm verbose reify failed optional dependency /home/enrico/Documents/GitHub/patata-new/node_modules/@esbuild/aix-ppc64
npm info run [email protected] install node_modules/speaker node-gyp rebuild
npm info run [email protected] install { code: 1, signal: null }
npm verbose stack Error: command failed
npm verbose stack     at promiseSpawn (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
npm verbose stack     at spawnWithShell (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
npm verbose stack     at promiseSpawn (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
npm verbose stack     at runScriptPkg (/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
npm verbose stack     at runScript (/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
npm verbose stack     at /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
npm verbose stack     at run (/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
npm verbose stack     at /usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
npm verbose stack     at new Promise (<anonymous>)
npm verbose stack     at callLimit (/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
npm verbose pkgid [email protected]
npm error code 1
npm error path /home/enrico/Documents/GitHub/patata-new/node_modules/speaker
npm error command failed
npm error command sh -c node-gyp rebuild
npm error /usr/lib/node_modules/npm/node_modules/node-gyp/lib/log.js:81
npm error     procLog.pause()
npm error             ^
npm error
npm error TypeError: procLog.pause is not a function
npm error     at new Logger (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/log.js:81:13)
npm error     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/log.js:165:11)
npm error     at Module._compile (node:internal/modules/cjs/loader:1546:14)
npm error     at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
npm error     at Module.load (node:internal/modules/cjs/loader:1317:32)
npm error     at Module._load (node:internal/modules/cjs/loader:1127:12)
npm error     at TracingChannel.traceSync (node:diagnostics_channel:315:14)
npm error     at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
npm error     at Module.require (node:internal/modules/cjs/loader:1339:12)
npm error     at require (node:internal/modules/helpers:135:16)
npm error
npm error Node.js v22.8.0
npm verbose cwd /home/enrico/Documents/GitHub/patata-new
npm verbose os Linux 6.6.52-1-MANJARO
npm verbose node v22.8.0
npm verbose npm  v10.8.3
npm verbose exit 1
npm verbose code 1
/usr/lib/node_modules/npm/node_modules/node-gyp/lib/log.js:81
error     procLog.pause()
error             ^
error
error TypeError: procLog.pause is not a function

It just does that any time I try to install any module that makes use of node-gyp, I'm tried reinstalling, changing the node version and doing spiritual rituals, and nothing worked, and have no idea what else to try.

Any help?

Thanks

Rico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant