npm ERR! code 1 npm ERR! path C:\Users\archi\Documents\Archit\DL\vs code\testing\node_modules\robotj

npm ERR! code 1 npm ERR! path C:\Users\archi\Documents\Archit\DL\vs code\testing\node_modules\robotjs npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | win32 | x64 npm ERR! gyp info find Python using Python version 3.11.0 found at "C:\Python311\python.exe"
npm ERR! gyp ERR! find VS npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt npm ERR! gyp ERR! find VS checking VS2019 (16.11.33214.272) found at: npm ERR! gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp ERR! find VS - found "Visual Studio C++ core features" npm ERR! gyp ERR! find VS - missing any VC++ toolset npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015 npm ERR! gyp ERR! find VS - not found npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS npm ERR! gyp ERR! find VS **
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload. npm ERR! gyp ERR! find VS For more information consult the documentation at:
13 Replies
problaster#1223
problaster#1223OP2y ago
and a lot more
keith
keith2y ago
Dk you have a c++ toolset installed? because, if you read the errors, its saying it cant find a vc++ toolset
problaster#1223
problaster#1223OP2y ago
if this one then yes
No description
keith
keith2y ago
no, no that in visual studio not vscode
problaster#1223
problaster#1223OP2y ago
I am making a project in electron so thats why I am using vscode
<Tim>
<Tim>2y ago
Have you had a look at their documentation? Because from the error it looks like you need to have VS installed You don't need to use it for your app, but you need it installed, so that the library can find the tools to compile its code
keith
keith2y ago
what tim said
problaster#1223
problaster#1223OP2y ago
ok I will download it then
keith
keith2y ago
@chmod please keep advertisements to #🔍┃job-offers and don't repeatedly send them
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
keith
keith2y ago
#🔍┃job-offers
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
keith
keith2y ago
ah, then you have to wait until you gain the Member role after 2 weeks either way, refrain from sending advertisements in other channels

Did you find this page helpful?