You need to sign in to do that
Don't have an account?
Arthur Lockrem 9
sfdx force:auth:web:login displays a blank page
I am working through the following Trailhead and setting up Salesforce DX for the first time.
https://trailhead.salesforce.com/trails/sfdx_get_started/projects/quick-start-salesforce-dx/steps/set-up-your-salesforce-dx-environment
sfdx is installed on Mac. sfdx --version returns: sfdx-cli/6.1.19-4341549 (darwin-x64) node-v8.9.4
When I attempt to login to the dev hub I am presented with a blank Google Chrome screen. No URL. Just a blank screen.
sfdx force:auth:web:login -d -a DevHub
Other posts suggested using:
- sfdx force:auth:web:login -h (-h is not valid)
- sfdx force:auth:web:login (same blank screen displayed)
Any help is appreciated.
https://trailhead.salesforce.com/trails/sfdx_get_started/projects/quick-start-salesforce-dx/steps/set-up-your-salesforce-dx-environment
sfdx is installed on Mac. sfdx --version returns: sfdx-cli/6.1.19-4341549 (darwin-x64) node-v8.9.4
When I attempt to login to the dev hub I am presented with a blank Google Chrome screen. No URL. Just a blank screen.
sfdx force:auth:web:login -d -a DevHub
Other posts suggested using:
- sfdx force:auth:web:login -h (-h is not valid)
- sfdx force:auth:web:login (same blank screen displayed)
Any help is appreciated.
chrome://restart
My next attempt worked as expected.
All Answers
sfdx force:org:list
Do you get a list which includes a devhub? Does it have the default flag next to it? If not, set a default with
sfdx force:auth:web:login --setalias <thealias>
Though it does sound like it's trying to launch something.. rather than nothing. You weren't working on a trial devhub (pretty much all we had until recently) which will have expired after 30 days?
Or do you have any script blockers or ad blockers which might stop your browser redirecting automatically?
sfdx force:auth:web:login --setalias <thealias> returns the same blank screen as originally reported.
I just signed up for my trial org today (as suggested in the Sign Up for a Developer Hub Trial Org section of the Trailhead unit). The window never even starts the oauth process, so the org type isn't even known when the blank window appears.
No pop-up blockers. No indication in the chrome console that anything is being blocked.
Since the only 2 constants are the Salesforce DX version (6.1.19-4341549) and me, either:
1. I am doing something wrong. I hope someone can help me understand what that is.
2. There is a bug with the latest version. This seems unlikely to me, but a possibility.
Has anyone had success running that command on the latest version?
chrome://restart
My next attempt worked as expected.