Workbench install Issue. Due to old version of VS?

Hi Community,

I am having an issue installing visual studio. I get the following error message, I think I may have had an old version of visual studio installed previously, which I have uninstalled, but there may be remnants of that left.

Here is the output from the installer. (I have tried running the cleaninstaller.exe as well as installing using administrator but neither have worked). Do you have any suggestions?

Components Setup
Visual Studio Code: Error - Command failed with… [detail]
Particle Workbench: Error - The “path” argument… [detail]
Azure IoT Tools: Error - The “path” argument… [detail]
all done!

Visual Studio Code [app]
Error: Command failed with EBUSY: C:\Users\RICHAR~1\AppData\Local\Temp\particle–12124-SAEg16U154sZ\VSCodeUserSetup-x64-1.76.2.exe /silent /mergetasks=!runcode,desktopicon
spawn EBUSY
at ChildProcess.spawn (internal/child_process.js:394:11)
at Object.spawn (child_process.js:549:9)
at execa (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\index.js:80:26)
at VSCodeInstallerWindows.downloadAndRun (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\installers\vscode\windows.js:51:10)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async IpcMainImpl. (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\electron.js:44:4)
Please report this error

Components Setup
Visual Studio Code: Error - Command failed with… [detail]
Particle Workbench: Error - The “path” argument… [detail]
Azure IoT Tools: Error - The “path” argument… [detail]
all done!

Particle Workbench [extension]
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined
at validateString (internal/validators.js:112:11)
at Object.normalize (path.js:266:5)
at parseNonShell (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\node_modules\cross-spawn\lib\parse.js:49:31)
at Function.parse [as _parse] (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\node_modules\cross-spawn\lib\parse.js:88:37)
at handleArguments (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\index.js:28:28)
at execa (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\index.js:75:17)
at VSCodeInstallerWindows.installExtension (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\installers\vscode\base.js:80:17)
at async installExtension (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\electron.js:71:4)
at async C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules@particle\async-utils\src\index.js:408:17
at async IpcMainImpl. (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\electron.js:56:3)
Please report this error

Components Setup
Visual Studio Code: Error - Command failed with… [detail]
Particle Workbench: Error - The “path” argument… [detail]
Azure IoT Tools: Error - The “path” argument… [detail]
all done!

Azure IoT Tools [extension]
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined
at validateString (internal/validators.js:112:11)
at Object.normalize (path.js:266:5)
at parseNonShell (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\node_modules\cross-spawn\lib\parse.js:49:31)
at Function.parse [as _parse] (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\node_modules\cross-spawn\lib\parse.js:88:37)
at handleArguments (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\index.js:28:28)
at execa (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules\execa\index.js:75:17)
at VSCodeInstallerWindows.installExtension (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\installers\vscode\base.js:80:17)
at async installExtension (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\electron.js:71:4)
at async C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\node_modules@particle\async-utils\src\index.js:408:17
at async IpcMainImpl. (C:\Users\RICHAR~1\AppData\Local\Temp\29LgGU0wAazDKRr41ncbk3sdTVf\resources\app.asar\src\electron.js:56:3)
Please report this error

Hi @hutchsubs-
Looks like this is from the workbench installer.
What happens if you try to download vscode from Microsoft without workbench?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.