Description
I did everything as in tutorial in official documentation. And I run pnpm install
│ node-pre-gyp info it worked if it ends with ok
│ node-pre-gyp info using node-pre-gyp@0.4.5
│ node-pre-gyp info using node@23.3.0 | win32 | x64
│ (node:14056) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
│ (Use node --trace-deprecation ...
to show where the warning was created)
│ node-pre-gyp info check checked for "C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus\prebu…
│ node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v131-napi-v3-win32-x64-un…
│ node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opus-…
│ node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.9.0 and node@23.3.0 (node-v131 ABI, unknown) (fa…
│ node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opu…
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@10.3.1
│ gyp info using node@23.3.0 | win32 | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@10.3.1
│ gyp info using node@23.3.0 | win32 | x64
│ gyp info find Python using Python version 3.13.1 found at "C:\Users\agynb\AppData\Local\Programs\Python\Python313\python.ex…
│ gyp ERR! find VS
│ gyp ERR! find VS msvs_version not set from command line or npm config
│ gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
│ gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for m…
│ gyp ERR! find VS
│ gyp ERR! find VS Failure details: undefined
│ gyp ERR! find VS checking VS2022 (17.11.35327.3) found at:
│ gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
│ gyp ERR! find VS - found "Visual Studio C++ core features"
│ gyp ERR! find VS - missing any VC++ toolset
│ gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
│ gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
│ gyp ERR! find VS
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS You need to install the latest version of Visual Studio
│ gyp ERR! find VS including the "Desktop development with C++" workload.
│ gyp ERR! find VS For more information consult the documentation at:
│ gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS
│ gyp ERR! configure error
│ gyp ERR! stack Error: Could not find any Visual Studio installation to use
│ gyp ERR! stack at VisualStudioFinder.fail (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-gyp\lib\fi…
│ gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\nod…
│ gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
│ gyp ERR! stack at async createBuildDir (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-gyp\lib\confi…
│ gyp ERR! stack at async run (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-gyp\bin\node-gyp.js:81:1…
│ gyp ERR! System Windows_NT 10.0.26100
│ gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_mo…
│ gyp ERR! cwd C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus
│ gyp ERR! node -v v23.3.0
│ gyp ERR! node-gyp -v v10.3.1
│ gyp ERR! not ok
│ node-pre-gyp ERR! build error
│ node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\agynb\OneDrive\Рабочий стол\Eli…
│ node-pre-gyp ERR! stack at ChildProcess. (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@…
│ node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
│ node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
node_modules/canvas: Running install script, failed in 10.7s (skipped as optional)process:305:5)
│ node-pre-gyp ERR! System Windows_NT 10.0.26100
│ node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza…
│ node-pre-gyp ERR! cwd C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus
│ node-pre-gyp ERR! node -v v23.3.0
│ node-pre-gyp ERR! node-pre-gyp -v v0.4.5
│ node-pre-gyp ERR! not ok
│ Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-g…
└─ Failed in 10.4s at C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus