I am hoping someone can help me out here.
I am seeing the following error on the latest version of VS Code Insiders, with the latest prerelease version of CodyAI. I am on MacOs.
It hangs and won’t activate the extension. See screenshot and log snippet:
2024-06-06 10:40:42.319 [info] ExtensionService#_doActivateExtension sourcegraph.cody-ai, startup: false, activationEvent: 'onLanguage'
2024-06-06 10:40:44.145 [error] Activating extension sourcegraph.cody-ai failed due to an error:
2024-06-06 10:40:44.145 [error] TypeError: Cannot set property createSecureContext of #<Object> which has only a getter
at Function.inject (/Users/anonymized_username/.vscode-insiders/extensions/node_modules/.pnpm/win-ca@3.5.1/node_modules/win-ca/lib/inject.js:51:11)
at Function.inject (/Users/anonymized_username/.vscode-insiders/extensions/node_modules/.pnpm/win-ca@3.5.1/node_modules/win-ca/lib/index.js:22:52)
at registerLocalCertificates (/Users/anonymized_username/.vscode-insiders/extensions/sourcegraph.cody-ai-1.21.1717626593/src/certs.js:18:32)
at initializeNetworkAgent (/Users/anonymized_username/.vscode-insiders/extensions/sourcegraph.cody-ai-1.21.1717626593/src/fetch.node.ts:96:5)
at activate2 (/Users/anonymized_username/.vscode-insiders/extensions/sourcegraph.cody-ai-1.21.1717626593/src/extension.node.ts:40:5)
at Function.kb (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:13508)
at Function.jb (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:13221)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:11246
at a.n (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6384)
at a.m (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6347)
at a.l (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:5804)
I have tried uninstalling and reinstalling the extension, and I have tried using the release version of codyai instead of the prerelease version.
Any suggestions?