3

enter image description here

Can someone please help me, I want to complete the lightening web components Trail in trailhead but i keep getting this error. I installed CLI and updated it to pre realese version I installed Visual Code I installed git and node JS I installed Salesforce extantion pack and Lightning Web Components And I keep getting this error.

  • Have you enabled the devhub in the devhub org ? – Mohith Shrivastava Dec 22 '18 at 17:17
  • I did. And I don't think that that is the problem because login.salesforce.com does not open. I think it's an issue with CLI – Mehdi Belcadi Dec 22 '18 at 20:27
  • What happens if you do force:auth:web:login directly from command line ? – Mohith Shrivastava Dec 22 '18 at 20:29
  • I get the same error message as in the screenshot I posted. ( Thank you for your help by the way) – Mehdi Belcadi Dec 22 '18 at 20:31
  • Which device are you on ? On Windows or Mac ox ? – Mohith Shrivastava Dec 22 '18 at 20:31
6

It turned out that my default browser was set to nothing. It's a stupid thing but it drove me crazy. I hope it helps if someone have the same issue.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.