Reputation: 391
VSCode is using for Salesforce development and couple of days back this issue is started whenever I am try to Deploy and retrieve changes from Org to my VScode Connected org. It is throwing Error Cannot read property 'getInstance' of undefined. Can anyone please help to resolve this.
Upvotes: 0
Views: 1183
Reputation: 1
1- Uninstall Salesforce CLI
2- Go to windows explorer and use this path "%LOCALAPPDATA%\sfdx"
3- Delete all the files from there
4- Reinstall Salesforce CLI
Upvotes: 0
Reputation: 391
I am able to resolve by uninstalling and reinstalling the Salesforce CLI from installed program on machine.
Upvotes: 0