Closed bbarlow-knauf closed 11 months ago
Same exact issue. I have a feeling that there will be a lot of folks trying this out today as Dreamforce has ended.
Howdy!
A few questions to help us track down why the extension isn't activating.
If you run in the command pallet Developer: Show Running Extensions
do you see the Einstein for Developers extension listed?
Do you see the small Einstein icon in the lower right of the status bar?
We've added the ability to see debug logging. If you open the settings you can turn on the debug logging with the following setting
After that reload VSCode and open the Developer tools with Developer: Toggle Developer Tools
. If you right click the console from there you can save the log file. Please email it to gbockus@salesforce.com.
It seems to be stuck in 'Activating'.
I do not see that small Einstein icon in the bottom right.
I'll work on getting the debug log to export.
Thanks for the Log @leefranke. I can see where the Einstein extension is failing to activate b/c it can't find a dependency from the Salesforce CLI Integration extension. Can you verify what version of the CLI extension you have currently installed? (The latest is v58.14.2). You will find the extension version in both the Running extensions view and if you find the extension in the extensions panel.
I'm running 57.15.0. I'll update and see if that works.
That sort of worked. It is now running but it threw and error (at least I think it is that extension throwing the error):
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
I'll send the logs.
Nice. I created a ticket to detect the version of the CLI extension and provide guidance at activation. I did a quick google on the webview error and it seems to be an inconsistent VSCode issue. https://github.com/microsoft/vscode/issues/128649. Can you try a restart and see if it goes away?
@bbarlow-knauf can you check the version of the CLI extension you have installed when you get a few? I just want to verify it was the same issue Lee was seeing.
The icons appear but the Einstein Sidebar does not have the prompt. I can start a different post for that issue.
@gbockus-sf I had an older version of the Salesforce Extension Pack. I updated all of the installed extensions and now Einstein for Developers is working for me. Thanks for the troubleshooting steps!
Closing this one as we found the issue 👍
I’ve installed the extension in VS Code, but it has not activated yet as I do not see the Einstein icon in the side bar. I have enable “Einstein for Developers” in the sandbox I am connected to in my sandbox org. I am using the latest version of VS Code 1.82.1 and have the latest version of the SF CLI installed as well. The other SF extensions load just fine.