Platformio-atom-ide-terminal: gyp ERR! stack Error: Could not find any Visual Studio installation to use

Created on 14 Oct 2020  路  4Comments  路  Source: platformio/platformio-atom-ide-terminal

[email protected] install C:\Users\user\AppData\Local\Temp\apm-install-dir-2020914-5548-1yzd9jy.q0nynode_modules\platformio-ide-terminalnode_modules\node-pty-prebuilt-multiarch
prebuild-install || node scripts/install.js

C:\Users\user\AppData\Local\Temp\apm-install-dir-2020914-5548-1yzd9jy.q0nynode_modules\platformio-ide-terminalnode_modules\node-pty-prebuilt-multiarch>if not defined npm_config_node_gyp (node "C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\npm-lifecycle\node-gyp-bin\....node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\node-gyp\bin\node-gyp.js" rebuild )

prebuild-install WARN install No prebuilt binaries found (target=6.1.12 runtime=electron arch=x64 libc= platform=win32)
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 checking VS2019 (16.7.30611.23) found at:
gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"
gyp ERR! find VS - "Visual Studio C++ core features" missing
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS looking for Visual Studio 2013
gyp ERR! find VS - not found
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\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack at C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack at C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack at C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack at C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apmnode_modules\npmnode_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (child_process.js:297:5)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apm\bin\node.exe" "C:\Users\user\AppData\Local\atom\app-1.52.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\user\AppData\Local\Temp\apm-install-dir-2020914-5548-1yzd9jy.q0nynode_modules\platformio-ide-terminalnode_modules\node-pty-prebuilt-multiarch
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\user\AppData\Local\Temp\apm-install-dir-2020914-5548-1yzd9jy.q0ny\package.json'
npm WARN apm-install-dir-2020914-5548-1yzd9jy.q0ny No description
npm WARN apm-install-dir-2020914-5548-1yzd9jy.q0ny No repository field.
npm WARN apm-install-dir-2020914-5548-1yzd9jy.q0ny No README data
npm WARN apm-install-dir-2020914-5548-1yzd9jy.q0ny No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user.atom.apm_logs\2020-10-14T19_50_54_636Z-debug.log

Most helpful comment

Reinstallation does not solve the problem.

All 4 comments

Reinstall Atom and it should start working again.

Reinstallation does not solve the problem.

The same here.

Fixed in https://github.com/platformio/platformio-atom-ide-terminal/releases/tag/v2.10.1

Please update platformio-ide-terminal to the latest version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yangwao picture yangwao  路  4Comments

EdgarUstian picture EdgarUstian  路  4Comments

conradolucas picture conradolucas  路  5Comments

fusion809 picture fusion809  路  3Comments

0ski picture 0ski  路  5Comments