[ISSUE]Workbench Can't local Compile due to 'make: command not found' (on Windows 10)

I have installed Particle Workbench in VS Code. When I attempt to flash Argon device, I get the following errors in the terminal window:

"> Executing task in folder garage_monitor: make -f 'C:\Users\mfull\.particle\toolchains\buildscripts\1.9.2\Makefile' compile-user -s <

/usr/bin/bash: make: command not found
The terminal process "C:\Users\mfull\.particle\toolchains\buildtools\1.1.1\bin\bash.exe '-c', 'make -f 'C:\Users\mfull\.particle\toolchains\buildscripts\1.9.2\Makefile' compile-user -s'" failed to launch (exit code: 127)."

I have checked these:

  1. the make.exe is found in C:\Users\mfull.particle\toolchains\buildtools\1.1.1\bin\
  2. the bash.exe is also found in C:\Users\mfull.particle\toolchains\buildtools\1.1.1\bin\
  3. I have added C:\Users\mfull.particle\toolchains\buildtools\1.1.1\bin\ to the PATH env variable
  4. I have run Particle: Reset Environment
    [Updated:]5. Tried moving the workspace to a non-One-Drive directory on local machine.
    [Updated:]6. included ‘env audit’ results below.

I’m at a loss for where to go from here… any ideas??

ENV AUDIT RESULTS BELOW:
“username”: “mEXTRACTED”,
“workspace”: {
“name”: “garage_WS (Workspace)”,
“isWorkspace”: true,
“folders”: [
{
“location”: “c:\Users\mfull\Documents\garage_minder\garage_monitor”,
“hasValidPath”: true,
“settings”: {
“firmwareName”: “deviceOS”,
“firmwareVersion”: “1.5.2”,
“targetDevice”: " garage_monitor",
“targetPlatform”: “argon”,
“compileButtonAction”: “localAppDeviceOS”,
“flashButtonAction”: “localAppDeviceOS”,
“disableWelcomeScreen”: false,
“disableDeviceOSOutdatedCheck”: false,
“disableLocalCompilerDirtyCheck”: false,
“enableVerboseLocalCompilerLogging”: false,
“compileDefines”: ,
“customDeviceOSLocation”: “”,
“maxAllowedToolchains”: 4
},
“files”: [
“.vscode”,
“.vscode\launch.json”,
“.vscode\settings.json”,
“project.properties”,
“README.md”,
“src”,
“src\garage_monitor.ino”
]
}
]
},
“cli”: {
“binpath”: “c:\Users\mfull\.vscode\extensions\particle.particle-vscode-core-1.12.3\src\cli\bin\windows\amd64\particle.exe”,
“ok”: true,
“version”: “2.8.1”
},
“localCompiler”: {
“ok”: true,
“dependencies”: [
{
“id”: “deviceOS@1.5.2”,
“ok”: true
},
{
“id”: “gcc-arm@5.3.1”,
“ok”: true
},
{
“id”: “buildtools@1.1.1”,
“ok”: true
},
{
“id”: “buildscripts@1.9.2”,
“ok”: true
},
{
“id”: “openocd@0.11.2-adhoc6ea4372.0”,
“ok”: true
},
{
“id”: “deviceOS@1.5.1”,
“ok”: true
}
]
},
“platform”: {
“os”: “windows”,
“type”: “Windows_NT”,
“release”: “10.0.18363”,
“arch”: “x64”,
“path”: {
“key”: “Path”,
“value”: “C:\Users\mfull\.platformio\penv\Scripts;C:\Users\mfull\.platformio\penv;C:\Users\mfull\.platformio\python3;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\;C:\Program Files\Mu\bin;C:\Users\mfull\AppData\Local\Microsoft\WindowsApps;;C:\Users\mfull\AppData\Local\Programs\Microsoft VS Code\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\;C:\Program Files\Mu\bin;C:\Users\mfull\AppData\Local\Microsoft\WindowsApps;;C:\Users\mfull\AppData\Local\Programs\Microsoft VS Code\bin”
},
“homeDir”: “C:\Users\mfull”,
“particleDir”: “C:\Users\mfull\.particle”,
“localCompilerToolchainDir”: “C:\Users\mfull\.particle\toolchains”
},
“env”: {
“ALLUSERSPROFILE”: “C:\ProgramData”,
“AMD_ENTRYPOINT”: “vs/workbench/services/extensions/node/extensionHostProcess”,
“APPDATA”: “C:\Users\mfull\AppData\Roaming”,
“APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL”: “true”,
“CHROME_CRASHPAD_PIPE_NAME”: “\\.\pipe\crashpad_4808_EXTRACTED”,
“CommonProgramFiles”: “C:\Program Files\Common Files”,
“CommonProgramFiles(x86)”: “C:\Program Files (x86)\Common Files”,
“CommonProgramW6432”: “C:\Program Files\Common Files”,
“COMPUTERNAME”: “DEXTRACTED”,
“ComSpec”: “C:\Windows\system32\cmd.exe”,
“DriverData”: “C:\Windows\System32\Drivers\DriverData”,
“ELECTRON_RUN_AS_NODE”: “1”,
“HOMEDRIVE”: “C:”,
“HOMEPATH”: “\Users\mfull”,
“IVIROOTDIR32”: “C:\Program Files (x86)\IVI Foundation\IVI\”,
“IVIROOTDIR64”: “C:\Program Files\IVI Foundation\IVI\”,
“LOCALAPPDATA”: “C:\Users\mfull\AppData\Local”,
“LOGONSERVER”: “\\DEXTRACTED”,
“NIEXTCCOMPILERSUPP”: “C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\”,
“NIIVIPATH”: “C:\Program Files (x86)\IVI Foundation\IVI\”,
“NO_PROXY”: “127.0.0.1”,
“NUMBER_OF_PROCESSORS”: “8”,
“OneDrive”: “C:\Users\mfull\OneDrive”,
“OneDriveConsumer”: “C:\Users\mfull\OneDrive”,
“ORIGINAL_XDG_CURRENT_DESKTOP”: “undefined”,
“OS”: “Windows_NT”,
“Path”: “C:\Users\mfull\.platformio\penv\Scripts;C:\Users\mfull\.platformio\penv;C:\Users\mfull\.platformio\python3;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\;C:\Program Files\Mu\bin;C:\Users\mfull\AppData\Local\Microsoft\WindowsApps;;C:\Users\mfull\AppData\Local\Programs\Microsoft VS Code\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\mfull\AppData\Local\Programs\Python\Python38-32\;C:\Program Files\Mu\bin;C:\Users\mfull\AppData\Local\Microsoft\WindowsApps;;C:\Users\mfull\AppData\Local\Programs\Microsoft VS Code\bin”,
“PATHEXT”: “.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC”,
“PIPE_LOGGING”: “true”,
“PLATFORMIO_CALLER”: “vscode”,
“PLATFORMIO_IDE”: “2.1.0”,
“PROCESSOR_ARCHITECTURE”: “AMD64”,
“PROCESSOR_IDENTIFIER”: “Intel64 Family 6 Model 158 Stepping 13, GenuineIntel”,
“PROCESSOR_LEVEL”: “6”,
“PROCESSOR_REVISION”: “9e0d”,
“ProgramData”: “C:\ProgramData”,
“ProgramFiles”: “C:\Program Files”,
“ProgramFiles(x86)”: “C:\Program Files (x86)”,
“ProgramW6432”: “C:\Program Files”,
“PSModulePath”: “C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules”,
“PUBLIC”: “C:\Users\Public”,
“SESSIONNAME”: “Console”,
“SystemDrive”: “C:”,
“SystemRoot”: “C:\Windows”,
“TEMP”: “C:\Users\mfull\AppData\Local\Temp”,
“TMP”: “C:\Users\mfull\AppData\Local\Temp”,
“USERDOMAIN”: “DESEXTRACTED”,
“USERDOMAIN_ROAMINGPROFILE”: “DEEXTRACTED”,
“USERNAME”: “EXTRACTED”,
“USERPROFILE”: “C:\Users\mfull”,
“VERBOSE_LOGGING”: “true”,
“VSCODE_CWD”: “C:\Users\mfull\AppData\Local\Programs\Microsoft VS Code”,
“VSCODE_HANDLES_UNCAUGHT_ERRORS”: “true”,
“VSCODE_IPC_HOOK”: “\\.\pipe\26fd19d44b090ea2395eedfc937f6e34-1.49.2-main-sock”,
“VSCODE_IPC_HOOK_EXTHOST”: “\\.\pipe\vscode-ipc-d4e48e04-0da6-425b-8817-a61944dbb13b-sock”,
“VSCODE_LOGS”: “C:\Users\mfull\AppData\Roaming\Code\logs\20200925T181637”,
“VSCODE_LOG_STACK”: “false”,
“VSCODE_NLS_CONFIG”: “{“locale”:“en-us”,“availableLanguages”:{},”_languagePackSupport":true}",
“VSCODE_NODE_CACHED_DATA_DIR”: “C:\Users\mfull\AppData\Roaming\Code\CachedData\e5e9e69aed6e1984f7499b7af85b3d05f9a6883a”,
“VSCODE_PID”: “4808”,
“VXIPNPPATH”: “C:\Program Files (x86)\IVI Foundation\VISA\”,
“VXIPNPPATH64”: “C:\Program Files\IVI Foundation\VISA\”,
“windir”: “C:\Windows”
},
“versions”: {
“node”: “12.14.1”,
“v8”: “8.3.110.13-electron.0”,
“uv”: “1.33.1”,
“zlib”: “1.2.11”,
“brotli”: “1.0.7”,
“ares”: “1.15.0”,
“modules”: “80”,
“nghttp2”: “1.40.0”,
“napi”: “5”,
“llhttp”: “2.0.1”,
“http_parser”: “2.8.0”,
“openssl”: “1.1.0”,
“cldr”: “36.0”,
“icu”: “65.1”,
“tz”: “2020a”,
“unicode”: “12.1”,
“electron”: “9.2.1”
},
“vscode”: {
“appName”: “Visual Studio Code”,
“appRoot”: “c:\Users\mfull\AppData\Local\Programs\Microsoft VS Code\resources\app”,
“machineId”: “6d6dEXTRACTED”,
“sessionId”: “f55EXTRACTED”,
“version”: “1.49.2”
},
“extensions”: [
{
“id”: “ms-vscode.js-debug”,
“version”: “1.49.8”
},
{
“id”: “ms-vscode.js-debug-companion”,
“version”: “1.0.7”
},
{
“id”: “ms-vscode.node-debug”,
“version”: “1.44.11”
},
{
“id”: “ms-vscode.node-debug2”,
“version”: “1.42.5”
},
{
“id”: “ms-vscode.references-view”,
“version”: “0.0.62”
},
{
“id”: “ms-vscode.vscode-js-profile-table”,
“version”: “0.0.6”
},
{
“id”: “marus25.cortex-debug”,
“version”: “0.3.7”
},
{
“id”: “ms-vscode.cpptools”,
“version”: “1.0.1”
},
{
“id”: “particle.particle-vscode-core”,
“version”: “1.12.3”
},
{
“id”: “particle.particle-vscode-pack”,
“version”: “1.12.3”
},
{
“id”: “particle.particle-vscode-snippets”,
“version”: “1.12.3”
},
{
“id”: “particle.particle-vscode-theme”,
“version”: “1.12.3”
},
{
“id”: “platformio.platformio-ide”,
“version”: “2.1.0”
}
]
}

sounds like something similar to:

couldn't hurt to run through our standard trouble-shooting steps and share result details:

@mfuller0 we've identified the source of the problem. please see here:

I had to disable PlatformIO in the current Particle Workspace to get the compile to work again. Even using version 2.1.2. But at least its compiling.

others appear to have had success using PlatformIO v2.1.2. please report your experience here: