
53 个回答
OK Lets dry below and see if it works Authorize the CLI to work with your DevHub by typing:
sfdx force:auth:web:login -h
This will automatically open your browser and prompt you to login to the dev hub. Use the credentials that you used to create the Salesforce DX authorized dev hub. Click Allow when the Oauth Flow prompts you to.
Once you’ve gone through this authorization process you can set up an alias using the following command
sfdx force:auth:web:login -d -a DevHub
You should see something like:
Successfully authorized <your-username> with org id 00B1I000000L9r3UCY
You may now close the browser
Now you should be able to open the dev hub using this
sfdx force:org:open -u DevHub
Let me know if this works