I am trying to locally compile a binary - I have used the VS Code-based workbench for a little over a year without issue - until today that is. After compiling locally ~30 times in the past 24 hours, the compiler suddenly stopped working. I receive an error:
So far, I have tried uninstalling and reinstalling the particle vscode extensions (no luck) and deleting VS Code and all extension data with a fresh reinstall - also, no luck. I have run the audit with results below:
{
"username": "dhagan@mit.edu",
"workspace": {
"name": "mit-wx",
"isWorkspace": false,
"folders": [
{
"location": "/Users/davidhagan/Documents/github/quantaq/mit/wx/fw-mit-wx/mit-wx",
"hasValidPath": true,
"settings": {
"firmwareName": "deviceOS",
"firmwareVersion": "1.4.4",
"targetDevice": "",
"targetPlatform": "electron",
"compileButtonAction": "localAppDeviceOS",
"flashButtonAction": "localAppDeviceOS",
"disableWelcomeScreen": true,
"disableLocalCompilerDirtyCheck": false,
"enableVerboseLocalCompilerLogging": false,
"customDeviceOSLocation": ""
},
"files": [
".DS_Store",
".vscode",
".vscode/launch.json",
".vscode/settings.json",
"README.md",
"lib",
"lib/Adafruit_BME280",
"lib/Adafruit_Sensor",
"lib/Adafruit_TSL2591",
"lib/CellularHelper",
"lib/DeviceKeyHelperRK",
"lib/HIH61XX",
"lib/PublishQueueAsyncRK",
"lib/SdFat",
"lib/electronsample",
"project.properties",
"src",
"src/SdLog.cpp",
"src/SdLog.h",
"src/externs.h",
"src/globals.h",
"src/mit-wx.cpp",
"src/mit-wx.ino",
"src/structs.h",
"src/utils.h",
"target",
"target/.DS_Store",
"target/1.4.4"
]
}
]
},
"cli": {
"binpath": "/Users/davidhagan/.vscode/extensions/particle.particle-vscode-core-1.8.1/src/cli/bin/darwin/amd64/particle",
"ok": true,
"version": "2.0.1",
"installed": 1560467933361
},
"localCompiler": {
"ok": true,
"dependencies": [
{
"id": "deviceOS@1.4.4",
"ok": true
},
{
"id": "gcc-arm@5.3.1",
"ok": true
},
{
"id": "buildtools@1.1.1",
"ok": true
},
{
"id": "buildscripts@1.8.0",
"ok": true
},
{
"id": "openocd@0.11.2-adhoc6ea4372.0",
"ok": true
},
{
"id": "deviceOS@1.4.3",
"ok": true
},
{
"id": "deviceOS@1.4.2",
"ok": true
},
{
"id": "deviceOS@1.4.0",
"ok": true
},
{
"id": "deviceOS@1.3.0-rc.1",
"ok": true
},
{
"id": "deviceOS@1.2.1",
"ok": true
},
{
"id": "deviceOS@1.2.1-rc.3",
"ok": true
},
{
"id": "deviceOS@1.2.1-rc.1",
"ok": true
},
{
"id": "deviceOS@1.1.1",
"ok": true
},
{
"id": "deviceOS@1.1.0",
"ok": true
},
{
"id": "deviceOS@1.0.1",
"ok": true
},
{
"id": "deviceOS@1.0.0",
"ok": true
},
{
"id": "deviceOS@0.7.0",
"ok": true
}
]
},
"platform": {
"os": "darwin",
"type": "Darwin",
"release": "17.7.0",
"arch": "x64",
"path": {
"key": "PATH",
"value": "/usr/local/opt/ruby/bin:/Users/davidhagan/bin:/usr/local/opt/mysql@5.7/bin:/Users/davidhagan/.pyenv/shims:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Users/davidhagan/bin:/usr/local/npm_packages/bin"
},
"homeDir": "/Users/davidhagan",
"particleDir": "/Users/davidhagan/.particle",
"localCompilerToolchainDir": "/Users/davidhagan/.particle/toolchains"
},
"env": {
"ELECTRON_RUN_AS_NODE": "1",
"__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0",
"TMPDIR": "/var/folders/c0/lqz7knw90vn7fgq0py7z4s500000gn/T/",
"HOME": "/Users/davidhagan",
"SHELL": "/bin/bash",
"Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.SRKtYQtMJM/Render",
"PATH": "/usr/local/opt/ruby/bin:/Users/davidhagan/bin:/usr/local/opt/mysql@5.7/bin:/Users/davidhagan/.pyenv/shims:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Users/davidhagan/bin:/usr/local/npm_packages/bin",
"LOGNAME": "davidhagan",
"XPC_SERVICE_NAME": "com.apple.xpc.launchd.oneshot.0x10000003.Electron",
"COMMAND_MODE": "unix2003",
"USER": "davidhagan",
"XPC_FLAGS": "0x0",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_NODE_CACHED_DATA_DIR": "/Users/davidhagan/Library/Application Support/Code/CachedData/26076a4de974ead31f97692a0d32f90d735645c0",
"VSCODE_LOGS": "/Users/davidhagan/Library/Application Support/Code/logs/20200107T175137",
"VSCODE_IPC_HOOK": "/Users/davidhagan/Library/Application Support/Code/1.41.1-main.sock",
"VSCODE_PID": "966",
"API_ENDPOINT": "https://api.quant-aq.com/device-api/",
"NODE_PATH": "/usr/local/npm_packages/lib/node_modules:",
"NPM_PACKAGES": "/usr/local/npm_packages",
"OBJC_DISABLE_INITIALIZE_FORK_SAFETY": "YES",
"PARTICLEIO_PSWD": SECRET,
"PARTICLEIO_TOKEN": SECRET,
"PARTICLEIO_USERNAME": "dhagan@mit.edu",
"PS1": "$ ",
"PWD": "/",
"PYENV_SHELL": "bash",
"PYENV_VIRTUALENV_DISABLE_PROMPT": "1",
"SHLVL": "1",
"_": "/private/var/folders/c0/lqz7knw90vn7fgq0py7z4s500000gn/T/AppTranslocation/5462532D-DF52-489C-A137-EBB5EA11DF33/d/Visual Studio Code.app/Contents/MacOS/Electron",
"AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
"PIPE_LOGGING": "true",
"VERBOSE_LOGGING": "true",
"VSCODE_IPC_HOOK_EXTHOST": "/var/folders/c0/lqz7knw90vn7fgq0py7z4s500000gn/T/vscode-ipc-75b043c2-21ec-4b48-ba8b-6f778ba8031b.sock",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_LOG_STACK": "false",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true"
},
"versions": {
"node": "12.4.0",
"v8": "7.6.303.31-electron.0",
"uv": "1.29.1",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "73",
"nghttp2": "1.38.0",
"napi": "4",
"llhttp": "1.1.3",
"http_parser": "2.8.0",
"openssl": "1.1.0",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019a",
"unicode": "12.1",
"electron": "6.1.5"
},
"vscode": {
"appName": "Visual Studio Code",
"appRoot": "/private/var/folders/c0/lqz7knw90vn7fgq0py7z4s500000gn/T/AppTranslocation/5462532D-DF52-489C-A137-EBB5EA11DF33/d/Visual Studio Code.app/Contents/Resources/app",
"machineId": "9c9fbc6444e27be7f45d6ed35b544a05916b159c71d7f986fed5aa901fa965a3",
"sessionId": "9bcf4d0f-a90c-4d37-9a33-5ed82619c0781578437584773",
"version": "1.41.1"
},
"extensions": [
{
"id": "ms-vscode.node-debug",
"version": "1.41.1"
},
{
"id": "ms-vscode.node-debug2",
"version": "1.41.3"
},
{
"id": "ms-vscode.references-view",
"version": "0.0.42"
},
{
"id": "austin.code-gnu-global",
"version": "0.2.2"
},
{
"id": "donjayamanne.githistory",
"version": "0.4.13"
},
{
"id": "eamodio.gitlens",
"version": "10.2.0"
},
{
"id": "felipecaputo.git-project-manager",
"version": "1.7.1"
},
{
"id": "marus25.cortex-debug",
"version": "0.3.4"
},
{
"id": "ms-python.python",
"version": "2020.1.57204"
},
{
"id": "ms-vscode.cpptools",
"version": "0.26.3-insiders2"
},
{
"id": "msjsdiag.debugger-for-chrome",
"version": "4.12.3"
},
{
"id": "particle.particle-vscode-core",
"version": "1.8.1"
},
{
"id": "particle.particle-vscode-pack",
"version": "1.8.1"
},
{
"id": "particle.particle-vscode-snippets",
"version": "1.8.1"
},
{
"id": "particle.particle-vscode-theme",
"version": "1.8.1"
}
]
}
Any thoughts on how to rescue myself?