I am trying to set a default org in VScode but it is not working. I get a Cannot read property 'getInstance' of undefined error.
ERROR running force:auth:web:login: Cannot read property 'getInstance' of undefined
Command : sfdx force:auth:web:login --setalias test --instanceurl https://test.salesforce.com --setdefaultusername
Output : ERROR running force:auth:web:login: Cannot read property 'getInstance' of undefined
Can anyone please help with this.