I authorized an org through VS Code, but at the bottom left it still says "No Default Org Set" rather than the org alias. I did this by running:
sfdx force:auth:web:login --setalias vscodeOrg --instanceurl <my url here> --setdefaultusername
I don't have the option "SFDX: Deploy this Source to Org". Why is this?
I'm suspecting maybe something with my CLI. I can do
sfdx --version but running
sfdx update says
S3 host is not reachable.
I read in another post that running
sfdx plugins:install @salesforce/sfdx-diff can fix the issue and I tried this, and got:
! 'ETIMEDOUT': connect ETIMEDOUT Finished digital signature check. Installing... done
Note: I tried setting the default org to the org I authorized. however, though it says "default org set", it doesn't show up on the bottom left. It still says "No Default Org Set".
An error that shows up though is
defaultusername This directory does not contain a valid Salesforce DX project. Add the --global flag to set config outside of a project.
So, I tried running
sfdx force:config:set defaultusername=vscodeOrg -g and it just printed out:
=== Set Config NAME VALUE ─────────────── ───────── defaultusername vscodeOrg
And nothing happened.