@lexstile

Как исправить ошибку установки пакета для windows 10?

В чем может быть проблема при установке пакета vk-tunnel?
Установил Python и Visual Studio Build Tools - не помогло.
Log
212 error gyp info it worked if it ends with ok
212 error gyp info using node-gyp@8.4.0
212 error gyp info using node@14.16.1 | win32 | x64
212 error gyp info find Python using Python version 3.10.8 found at "C:\Users\Алексей\AppData\Local\Programs\Python\Python310\python.exe"
212 error gyp ERR! find VS
212 error gyp ERR! find VS msvs_version not set from command line or npm config
212 error gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
212 error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
212 error gyp ERR! find VS looking for Visual Studio 2015
212 error gyp ERR! find VS - not found
212 error gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
212 error gyp ERR! find VS
212 error gyp ERR! find VS **************************************************************
212 error gyp ERR! find VS You need to install the latest version of Visual Studio
212 error gyp ERR! find VS including the "Desktop development with C++" workload.
212 error gyp ERR! find VS For more information consult the documentation at:
212 error gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
212 error gyp ERR! find VS **************************************************************
212 error gyp ERR! find VS
212 error gyp ERR! configure error
212 error gyp ERR! stack Error: Could not find any Visual Studio installation to use
212 error gyp ERR! stack at VisualStudioFinder.fail (C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
212 error gyp ERR! stack at C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16
212 error gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:363:14)
212 error gyp ERR! stack at C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14
212 error gyp ERR! stack at C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:384:16
212 error gyp ERR! stack at C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
212 error gyp ERR! stack at C:\Users\Алексей\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
212 error gyp ERR! stack at ChildProcess.exithandler (child_process.js:315:5)
212 error gyp ERR! stack at ChildProcess.emit (events.js:315:20)
212 error gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
212 error gyp ERR! System Windows_NT 10.0.19044
212 error gyp ERR! command "D:\\programs\\nodejs\\node.exe" "C:\\Users\\Алексей\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
212 error gyp ERR! cwd C:\Users\Алексей\AppData\Roaming\npm\node_modules\@vkontakte\vk-tunnel\node_modules\websocket
212 error gyp ERR! node -v v14.16.1
212 error gyp ERR! node-gyp -v v8.4.0
212 error gyp ERR! not ok
213 verbose exit 1
  • Вопрос задан
  • 132 просмотра
Пригласить эксперта
Ответы на вопрос 1
@Azperin
Дилетант
stack Error: Could not find any Visual Studio installation to use

При установке ноды отметь галку в конце установить доп.программы или както так, он тебе там часто используемое окружение установит, мне часто помогало в похожих проблемах
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы