I get "sfdx force:auth:web:login --setdefaultdevhubusername ended with exit code 1"

enter image description here

enter image description here

  • Did you authorize the CLI to work with your DevHub? – Naval Sharma Jan 1 '19 at 12:44
  • We would need to see the logs from that period in time. You can find it in .sfdx/sfdx.log (found in ~ in Linux/Unix/Mac or %homepath% in Windows). That should explain what happened. – sfdcfox Jan 1 '19 at 15:17
  • @sfdcfox logs are comming blank. – Vishal Sharma Jan 2 '19 at 15:57
  • @NavalSharma No This is what this step does. – Vishal Sharma Jan 2 '19 at 15:57
  • @sfdcfox I got it working by giving the .sfdx as WR permission , Was is necessary ? – Vishal Sharma Jan 2 '19 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.