Codeneos / vlocode

Vlocity development extension for Visual Studio Code
MIT License
31 stars 5 forks source link

Command error: Vlocode is not initialized; VlocityDatapackService is null #395

Closed shishirbansal closed 1 year ago

shishirbansal commented 1 year ago

Discussed in https://github.com/Codeneos/vlocode/discussions/394

Originally posted by **shishirbansal** December 15, 2022 Hi, OS : MAC (12.6.1) Monterey SF cli : sfdx-cli/7.180.0 darwin-x64 node-v18.12.1 Vs Code Version : 1.74.0 (Universal) Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91 Date: 2022-12-05T16:43:37.594Z (1 wk ago) Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin x64 21.6.0 Recently i am not able to use the Vlocity VScode extension. I tried to uninstall the extension and salesforce one and then VS code also. Reinstalled everything from scratch and able to work with Salesforce extension but not able to connect the org for vlocity. Even cleaned the alias and logged out from all the orgs in terminal and started with just one org but no luck. I am attaching the screenshot. Please let me know if there is something that is missing from my end or if this is a known issue. VsCode
shishirbansal commented 1 year ago

Hi @Codeneos ,

Can you help me out on this or guide

Codeneos commented 1 year ago

@shishirbansal thanks for reporting the issue! Can you provide some additional debug logs from the vscode developer console to help pinpoint the root cause?

You can access view the developer console messages from Help > Toggle Developer Console in vscode image

Codeneos commented 1 year ago

Closing this issue 0.19.x branch will hopefully have fixed this issue

shishirbansal commented 1 year ago

Hello @Codeneos ,

My apologise for the reply i am here . When i try to click on Help > Toggle Developer Console. It is opening Chrome developer tools. In the below screenshot when i try to connect to an Org via Vlocode extension. It always says select a salesforce Org Screenshot 2023-05-04 at 10 54 54 AM

shishirbansal commented 1 year ago

I am getting this error when i reinstalled it Screenshot 2023-05-04 at 11 13 00 AM