The Azure ML extension depends on the Azure Account extension, a customer recently reported the following issue, and it looks like the Azure Account extension is failing to activate. We tried with older versions (as low as v10) and it is failing too. It is important to mention that this is intermittent and sometimes it works fine. Here the logs:
2023-08-01 15:23:12.570 [info] Extension host with pid 49200 started
2023-08-01 15:23:12.583 [info] ExtensionService#_doActivateExtension ms-vscode.azure-account, startup: false, activationEvent: 'onUri:ms-toolsai.vscode-ai', root cause: ms-toolsai.vscode-ai
2023-08-01 15:23:12.622 [error] Activating extension ms-vscode.azure-account failed due to an error:
2023-08-01 15:23:12.622 [error] Error: Cannot find module 'vscode'
Require stack:
- c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js
- c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\main.js
- c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
- c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
- c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js
-
at Module._resolveFilename (node:internal/modules/cjs/loader:1010:15)
at s._resolveFilename (node:electron/js2c/utility_init:2:2740)
at Module._load (node:internal/modules/cjs/loader:858:27)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at l._load (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:28070)
at p._load (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:25404)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
at 89496 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:2800570)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at 53717 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:480939)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at 32233 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:484889)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at 71179 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:410782)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at 94485 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:431062)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at 35695 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:2525460)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at 42863 (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:2503212)
at __webpack_require__ (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3437775)
at c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3438950
at Object.<anonymous> (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\dist\extension.bundle.js:2:3438995)
at u._compile (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at l._load (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:28070)
at p._load (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:25404)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
at Object.<anonymous> (c:\Users\E13CBH\.vscode\extensions\ms-vscode.azure-account-0.11.5\main.js:19:19)
at u._compile (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at l._load (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:28070)
at p._load (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:25404)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Function.i [as __$__nodeRequire] (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:5:98)
at i.rb (c:\Users\E13CBH\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:26583)
at async Promise.all (index 0)
2023-08-01 15:23:12.630 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-08-01 15:23:12.655 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2023-08-01 15:23:12.667 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-08-01 15:23:12.683 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2023-08-01 15:23:12.715 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-08-01 15:23:12.805 [info] Eager extensions activated
2023-08-01 15:23:12.805 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2023-08-01 15:23:12.813 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2023-08-01 15:23:12.822 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
2023-08-01 15:23:12.835 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-containers, startup: false, activationEvent: 'onStartupFinished'
2023-08-01 15:24:22.125 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
The Azure ML extension depends on the Azure Account extension, a customer recently reported the following issue, and it looks like the Azure Account extension is failing to activate. We tried with older versions (as low as v10) and it is failing too. It is important to mention that this is intermittent and sometimes it works fine. Here the logs: