Auth command in readme should be force:auth:... not auth:
owenschoppe opened this issue · 2 comments
owenschoppe commented
Summary
I think the readme needs to be updated to reflect the latest sfdx cli commands.
Steps To Reproduce:
- Try using the setup steps
Expected result
I should have been able to auth into my dev hub org.
Actual result
Got the warning:
› Warning: auth:web:login is not a sfdx command.
Did you mean force:auth:web:login? [y/n]:
Additional information
Feel free to attach a screenshot or code snippets.
github-actions commented
Welcome! 👋
Thank you for posting this issue. 🙇🏼♂️ We will come back to you latest within the next 48h (working days). Stay tuned!
pozil commented
Hi @owenschoppe, the correct command is indeed sfdx auth:web:login
as documented here. The extra force
prefix was dropped from the Salesforce CLI more than a year ago.
Please make sure to use an up to date version. For reference, the current CLI version is 7.117.0
and here are the update instructions.