I'm just getting started with developing in VS Code and have been following the steps here.
I was able to authorise my org with the default alias according to the steps here:
The authorised org also shows up in my auth:list
:
And running sfdx force:org:display --targetusername vscodeOrg
, confirms the org's Connected Status: Connected
.
But when I try to deploy the component as per step 2 here with SFDX: Deploy Source to Org, I get the error message No authorization information found for vscodeOrg
:
Would anyone know what's going on here? I can't find much information about this error and I'm worried I've broken something, so any help would be much appreciated.
EDIT: Updating the CLI with sfdx update
seemed to resolve the issue for me.