TooTallNate / node-speaker

Output PCM audio data to the speakers
648 stars 145 forks source link

issues in installing node-speaker #179

Open tanusri9494 opened 6 months ago

tanusri9494 commented 6 months ago

Node.js v21.6.1 PS C:\Users\MANUTANU\sblvoice> npm install --global --production windows-build-tools npm WARN config production Use --omit=dev instead. 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 WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details. npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\node_modules\verror\node_modules\core-util-is'] {
npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\node_modules\verror\node_modules\core-util-is' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools
npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./dist/index.js Downloading python-2.7.15.amd64.msi
npm ERR! [============================================>] 100.0% (0 B/s)
npm ERR! Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\MANUTANU.windows-build-tools\python-2.7.15.amd64.msi. Downloading vs_BuildTools.exe
npm ERR! [============================================>] 100.0% (0 B/s)
npm ERR! Downloaded vs_BuildTools.exe. Saved to C:\Users\MANUTANU.windows-build-tools\vs_BuildTools.exe. npm ERR! npm ERR! Starting installation... npm ERR! Downloading installers failed. Error: TypeError: 'process.env' only accepts a configurable, writable, and enumerable data descriptor npm ERR! at Function.defineProperty () npm ERR! at Object.removePath (C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\dist\utils\remove-path.js:11:12) npm ERR! at Object.install (C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\dist\install\index.js:29:19) npm ERR! at C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\dist\start.js:17:19 npm ERR! at Object.download (C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\dist\download.js:35:5) npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5) npm ERR! at async Object.aquireInstallers (C:\Users\MANUTANU\AppData\Roaming\nvm\v21.6.1\node_modules\windows-build-tools\dist\aquire-installers.js:32:13) { npm ERR! code: 'ERR_INVALID_OBJECT_DEFINE_PROPERTY' npm ERR! } npm ERR! windows-build-tools will now exit. npm ERR! (node:14576) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. npm ERR! (Use node --trace-deprecation ... to show where the warning was created)

npm ERR! A complete log of this run can be found in: C:\Users\MANUTANU\AppData\Local\npm-cache_logs\2024-02-05T07_50_03_334Z-debug-0.log PS C:\Users\MANUTANU\sblvoice>