Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbelt Login doesn't work on Windows+WSL #745

Closed
luciansr opened this issue Feb 14, 2020 · 3 comments
Closed

Toolbelt Login doesn't work on Windows+WSL #745

luciansr opened this issue Feb 14, 2020 · 3 comments
Assignees

Comments

@luciansr
Copy link

luciansr commented Feb 14, 2020

Since the day of the creation of this issue, the vtex toolbelt login stopped working on my machine when using WSL

Whenever I try to login/link/etc I am redirected to the link:
https://{{account}}.myvtex.com/_v/private/auth-server/v1/login/?workspace=master (without de return URL parameter)
After that, the default store page opens for me, and nothing happens in the CLI

PS: using the default windows shell/terminal it works fine 😢

image

https://vtex.slack.com/archives/C2WSEU9QQ/p1581693375388500

Possible Solution

Open a login URL with the returnUrl parameter (?)

Steps to Reproduce (for bugs)

  1. On Windows WSL, execute vtex login and wait
  2. Follow the default steps
  3. Login doesn't work 😭

Your Environment

vtex toolbelt: 6.13.4
Updated Windows 10
"Default" Dell XPS 2018 from VTEX
Windows Subsystem for Linux
@tiagonapoli tiagonapoli self-assigned this Feb 14, 2020
@tiagonapoli
Copy link
Contributor

tiagonapoli commented Feb 17, 2020

Thanks so much for your report!

I investigated and discovered that an update to one library was the issue. I already opened an issue in the lib sindresorhus/open#170 and for now you can use an older version of toolbelt - vtex@2.87.4. Using yarn you can install it with the command:

yarn global add vtex@2.87.4

@luciansr
Copy link
Author

It worked @tiagonapoli !
Thanks

@tiagonapoli
Copy link
Contributor

A patch sindresorhus/open#171 was released by open fixing this issue, this can now be closed - next toolbelt installs will get the latest open package with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants