gpt4 book ai didi

atom-editor - 安装 “platformio-ide-terminal@2.10.0”失败

转载 作者:行者123 更新时间:2023-12-04 03:51:49 27 4
gpt4 key购买 nike

今天早上,当我尝试从 platformio-ide-terminal 包中的 atom-editor 中打开终端时,它只是一片空白。我卸载了软件包,当我尝试重新安装它时,显示了以下失败消息:

Installing “platformio-ide-terminal@2.10.0” failed.Hide output…

> node-pty-prebuilt-multiarch@0.9.0-beta21.legacy install C:\Users\User\AppData\Local\Temp\apm-install-dir-2020914-9448-8l0dac.72tzp\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js


C:\Users\User\AppData\Local\Temp\apm-install-dir-2020914-9448-8l0dac.72tzp\node_modules\platformio-ide-terminal\node_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\apm\node_modules\npm\node_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\apm\node_modules\npm\node_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.6.30128.74) found at:
gyp ERR! find VS "G:\VisualStudio"
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! 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-9448-8l0dac.72tzp\package.json'
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No description
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No repository field.
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No README data
npm WARN apm-install-dir-2020914-9448-8l0dac.72tzp No license field.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\.atom\.apm\_logs\2020-10-14T02_21_59_681Z-debug.log

我该如何解决这个问题?

最佳答案

使用下面的链接安装 Visual Studio Code :-

https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools

它对我有用。

关于atom-editor - 安装 “platformio-ide-terminal@2.10.0”失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64345770/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com