My vscode told me so but the current sdk is 4.1.4 LOL.
I checked the sdk version with this command on my mac.
My vscode told me so but the current sdk is 4.1.4 LOL.
I checked the sdk version with this command on my mac.
What you are saying with 4.1 is that the device must have a 4.1 VM. If you want to see what various devices have, look here
https://developer.garmin.com/connect-iq/compatible-devices/
With the latest SDK…
A WORKAROUND BUT NEED MORE VALIDATION.
Today I found the source of MonkeyC Plugin. (Compiled)
POSITION: USER_HOME/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js function getCurrentSdkVersion…
Currently synced but don't know the previous. I didn't see how garmin use this .ini. Looks like a black box.
Garmin is so slow to make response.Many bug reports have acknowledge but no updates…
In VS Code, go to the command palette and select Monkey C: Open SDK Manager, and with that, select your current SDK. There is a file at the same level as your SDK and device folders that points to your current SDK
Well.
The content is correct but the vscode still keeps reminding me the sdk should be 4.0.6 or newer.LOL
It appears even more frequently after the newest version vscode plugin installed.
Does anyone have a link to a list of latest API version supported for each device? When I select the latest 4.1 api I am not able to see all the devices that I have downloaded in my SDK manager. Thanks
What you are saying with 4.1 is that the device must have a 4.1 VM. If you want to see what various devices have, look here
https://developer.garmin.com/connect-iq/compatible-devices/
With the latest SDK you can build for any CIQ device. But you can only use things that are avalable for the CIQ level of the device you are targeting
A WORKAROUND BUT NEED MORE VALIDATION.
Today I found the source of MonkeyC Plugin. (Compiled)
POSITION: USER_HOME/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js function getCurrentSdkVersion(path) {
replace the code inside __awaiter to
It worked again.
If you are annoyed by this issue as well. Try this approach.
How did it happen?
According to the error stack, there is something to do with
at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47)
workbench.desktop.main.js:87 [Extension Host] Installing @markw65/prettier-plugin-monkeyc into the esbenp.prettier-vscode extension! workbench.desktop.main.js:609 ERR [Extension Host] Unhandled Promise rejection: Cannot read properties of undefined (reading 'indexOf') ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read properties of undefined (reading 'indexOf') at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47) at NativeError.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:900:30) at maybeOverridePrepareStackTrace (node:internal/errors:141:29) at prepareStackTrace (node:internal/errors:115:5) at S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142830) at y._handleConsoleCall (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142483) at console.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142327) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:336:21 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at getCurrentSdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:308:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:282:31 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:280:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:269:40 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkInstallation (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:246:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:26:67 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:4:12) at onBuildCurrentProject (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:24:12) at s._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:111375) at s.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:112079) at l._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13680) at l._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13362) at l._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:12132) at l._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:10834) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:8941 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:17104 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at o._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:21327) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:18770 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at g.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:13346) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:12476 at Socket.i (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:24594) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) TypeError: Cannot read properties of undefined (reading 'indexOf') at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47) at NativeError.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:900:30) at maybeOverridePrepareStackTrace (node:internal/errors:141:29) at prepareStackTrace (node:internal/errors:115:5) at S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142830) at y._handleConsoleCall (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142483) at console.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142327) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:336:21 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at getCurrentSdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:308:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:282:31 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:280:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:269:40 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkInstallation (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:246:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:26:67 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:4:12) at onBuildCurrentProject (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:24:12) at s._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:111375) at s.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:112079) at l._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13680) at l._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13362) at l._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:12132) at l._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:10834) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:8941 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:17104 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at o._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:21327) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:18770 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at g.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:13346) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:12476 at Socket.i (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:24594) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) workbench.desktop.main.js:87 [Extension Host] Unhandled Promise rejection: Cannot read properties of undefined (reading 'indexOf') ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read properties of undefined (reading 'indexOf') at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47) at NativeError.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:900:30) at maybeOverridePrepareStackTrace (node:internal/errors:141:29) at prepareStackTrace (node:internal/errors:115:5) at S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142830) at y._handleConsoleCall (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142483) at console.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142327) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:336:21 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at getCurrentSdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:308:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:282:31 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:280:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:269:40 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkInstallation (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:246:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:26:67 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:4:12) at onBuildCurrentProject (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:24:12) at s._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:111375) at s.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:112079) at l._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13680) at l._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13362) at l._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:12132) at l._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:10834) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:8941 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:17104 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at o._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:21327) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:18770 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at g.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:13346) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:12476 at Socket.i (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:24594) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) TypeError: Cannot read properties of undefined (reading 'indexOf') at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47) at NativeError.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:900:30) at maybeOverridePrepareStackTrace (node:internal/errors:141:29) at prepareStackTrace (node:internal/errors:115:5) at S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142830) at y._handleConsoleCall (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142483) at console.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142327) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:336:21 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at getCurrentSdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:308:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:282:31 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:280:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:269:40 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkInstallation (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:246:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:26:67 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:4:12) at onBuildCurrentProject (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:24:12) at s._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:111375) at s.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:112079) at l._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13680) at l._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13362) at l._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:12132) at l._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:10834) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:8941 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:17104 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at o._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:21327) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:18770 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at g.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:13346) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:12476 at Socket.i (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:24594) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) E @ workbench.desktop.main.js:87 workbench.desktop.main.js:609 ERR [Extension Host] Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'indexOf') TypeError: Cannot read properties of undefined (reading 'indexOf') at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47) at NativeError.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:900:30) at maybeOverridePrepareStackTrace (node:internal/errors:141:29) at prepareStackTrace (node:internal/errors:115:5) at S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142830) at y._handleConsoleCall (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142483) at console.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142327) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:336:21 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at getCurrentSdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:308:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:282:31 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:280:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:269:40 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkInstallation (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:246:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:26:67 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:4:12) at onBuildCurrentProject (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:24:12) at s._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:111375) at s.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:112079) at l._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13680) at l._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13362) at l._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:12132) at l._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:10834) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:8941 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:17104 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at o._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:21327) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:18770 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at g.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:13346) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:12476 at Socket.i (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:24594) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) at new AppInsightsAsyncCorrelatedErrorWrapper (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:172:18) at resolvePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:501:31) at /Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:477:13 at rejected (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:6:89) at ZoneDelegate.invoke (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:242:26) at Zone.run (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:113:43) at /Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:535:57 at ZoneDelegate.invokeTask (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:275:35) at Zone.runTask (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:151:47) at drainMicroTaskQueue (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:433:35) at ZoneTask.invoke (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:349:25) at args.<computed> (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:1497:25) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) workbench.desktop.main.js:87 [Extension Host] Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'indexOf') TypeError: Cannot read properties of undefined (reading 'indexOf') at AppInsightsAsyncCorrelatedErrorWrapper.orig.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:155:47) at NativeError.prepareStackTrace (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:900:30) at maybeOverridePrepareStackTrace (node:internal/errors:141:29) at prepareStackTrace (node:internal/errors:115:5) at S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142830) at y._handleConsoleCall (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142483) at console.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:142327) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:336:21 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at getCurrentSdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:308:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:282:31 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkVersion (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:280:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:269:40 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:4:12) at verifySdkInstallation (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/utilities/sdk.js:246:12) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:26:67 at Generator.next (<anonymous>) at /Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:8:71 at new ZoneAwarePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:551:29) at __awaiter (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:4:12) at onBuildCurrentProject (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:24:12) at s._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:111375) at s.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:92:112079) at l._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13680) at l._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:13362) at l._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:12132) at l._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:10834) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:102:8941 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:118:17104 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at r.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:16515) at o._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:21327) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:18770 at h.invoke (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:145) at v.deliver (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:2266) at g.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:61:1844) at g.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:13346) at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:12476 at Socket.i (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:70:24594) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) at new AppInsightsAsyncCorrelatedErrorWrapper (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:172:18) at resolvePromise (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:501:31) at /Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:477:13 at rejected (/Users/kent/.vscode/extensions/garmin.monkey-c-1.0.7/out/buildTask.js:6:89) at ZoneDelegate.invoke (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:242:26) at Zone.run (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:113:43) at /Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:535:57 at ZoneDelegate.invokeTask (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:275:35) at Zone.runTask (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:151:47) at drainMicroTaskQueue (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:433:35) at ZoneTask.invoke (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:349:25) at args.<computed> (/Users/kent/.vscode/extensions/qub.qub-xml-vscode-1.2.8/node_modules/zone.js/dist/zone-node.js:1497:25) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) E @ workbench.desktop.main.js:87
i noticed there's a second file besides current-sdk.cfg which has a reference to the current SDK location:
~/Library/Application Support/Garmin/ConnectIQ/sdkmanager-config.ini
It has a ton of key-value pairs, including
current-sdk=/Users/.../Library/Application Support/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-4.2.0.beta1-2022-10-11-bff57b73c/
I'm curious whether this value is in sync with current-sdk.cfg for you, when you see this problem.
It also has metadata for your current SDK:
connectiq-sdk-mac-4.2.0.beta1-2022-10-11-bff57b73c-release=October 12, 2022
connectiq-sdk-mac-4.2.0.beta1-2022-10-11-bff57b73c-title=Connect IQ 4.2.0 Beta 1
connectiq-sdk-mac-4.2.0.beta1-2022-10-11-bff57b73c-version=4.2.0.beta1
I quickly tried changing the value for ...-version to something like "3.0" but it didn't seem to affect the monkey c extension. I didn't test very extensively or carefully tho.
Currently synced but don't know the previous. I didn't see how garmin use this .ini. Looks like a black box.
Garmin is so slow to make response.Many bug reports have acknowledge but no updates and progrress notification any more.
If they are cook, I must starve to death. Hence, we have to find various tricks or workaround to fix the f**k bug.
Fortunately, the hardcode I posted before works fine for me. I feel tired to think about more on this time-wasting issue. ;(