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

issues in installing node-speaker #179

Open
tanusri9494 opened this issue Feb 5, 2024 · 0 comments
Open

issues in installing node-speaker #179

tanusri9494 opened this issue Feb 5, 2024 · 0 comments

Comments

@tanusri9494
Copy link

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 [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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 [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: 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>

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