I have errors when i try to install edge impulse CLI

Hi!
I am having problems with the edge impulse cli. I’ve just installed the latest python and node updates and when i type “npm install -g edge-impulse-cli --force” in the cmd I get these errors:

npm ERR! code 7 npm ERR! path C:\Users\User\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.1 npm ERR! gyp info using node@18.16.0 | win32 | x64 npm ERR! gyp info find Python using Python version 3.11.3 found at “C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe” npm ERR! gyp info find VS using VS2019 (16.11.33529.622) found at: npm ERR! gyp info find VS “C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools” npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! gyp info spawn C:\Users\Tudor\AppData\Local\Programs\Python\Python311\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args ‘C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py’,npm ERR! gyp info spawn args ‘binding.gyp’, npm ERR! gyp info spawn args ‘-f’, npm ERR! gyp info spawn args ‘msvs’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘C:\Users\User\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\build\config.gypi’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\addon.gypi’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘C:\Users\User\AppData\Local\node-gyp\Cache\18.16.0\include\node\common.gypi’,npm ERR! gyp info spawn args ‘-Dlibrary=shared_library’, npm ERR! gyp info spawn args ‘-Dvisibility=default’, npm ERR! gyp info spawn args ‘-Dnode_root_dir=C:\Users\User\AppData\Local\node-gyp\Cache\18.16.0’, npm ERR! gyp info spawn args ‘-Dnode_gyp_dir=C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp’, npm ERR! gyp info spawn args ‘-Dnode_lib_file=C:\\Users\\Tudor\\AppData\\Local\\node-gyp\\Cache\\18.16.0\\<(target_arch)\\node.lib’, npm ERR! gyp info spawn args ‘-Dmodule_root_dir=C:\Users\User\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings’, npm ERR! gyp info spawn args ‘-Dnode_engine=v8’, npm ERR! gyp info spawn args ‘–depth=.’, npm ERR! gyp info spawn args ‘–no-parallel’, npm ERR! gyp info spawn args ‘–generator-output’, npm ERR! gyp info spawn args ‘C:\Users\User\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\build’, npm ERR! gyp info spawn args ‘-Goutput_dir=.’ npm ERR! gyp info spawn args ] npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args ‘build/binding.sln’, npm ERR! gyp info spawn args ‘/clp:Verbosity=minimal’, npm ERR! gyp info spawn args ‘/nologo’, npm ERR! gyp info spawn args ‘/p:Configuration=Release;Platform=x64’ npm ERR! gyp info spawn args ] npm ERR! gyp ERR! UNCAUGHT EXCEPTION npm ERR! gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe ENOENT npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19) npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:476:16) npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! gyp ERR! System Windows_NT 10.0.19045 npm ERR! gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild” npm ERR! gyp ERR! cwd C:\Users\User\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindingsnpm ERR! gyp ERR! node -v v18.16.0 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! Node-gyp failed to build your package. npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.

Hi!

Can you make sure you installed the additional tools when you installed NodeJS?
additional-tools

node-gyp issues usually come from there.

Best,

Louis