-
Notifications
You must be signed in to change notification settings - Fork 32
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
Not working with WSL #337
Comments
Hey @davidwparker, sorry for the late response. Do you have the Stripe extension installed client side or the the WSL-side? Alternatively, if you know the path at which the CLI Is located within WSL, you can set that as your custom path in the panel. |
@gracegoo-stripe - It's on the WSL (ubuntu) side.
I don't seem to be able to set it correctly- what should the proper custom path be? Thanks |
Same problem for me. Any solution yet? |
Ok, I may have found a solution. If you start vscode through wsl (e.g. in terminal navigate to your project and |
If you have Stripe installed in WSL and you can navigate to /usr/local/bin and you have a stripe file there then this will work for you. In the Local-Installed Extensions window of vscode click the settings icon for Stripe (the gear/cog icon). Then click the Edit in settings.json; this will open a new tab with you settings.json file. Find the line in your settings json file that reads "stripe.cliInstallPath". I am running Ubuntu 20.04 in wsl so my line looks like this "stripe.cliInstallPath": "//wsl.localhost/Ubuntu-20.4/usr/local/bin", then back on the settings tab for stripe in vscode make sure the field under Stripe:Cli Install Path (modified in User) is blank. This should get it working for you. Hope this helps. If you have any questions let me know and I will try my best to help. |
I just installed the Stripe Extension.
On the sidebar, it asks me to sign in to the Stripe CLI.
I have the Stripe CLI installed within WSL (Ubuntu). I am logged in there.
But the sidebar is not showing anything other than asking me to sign in, or to set a custom path.
What should I be doing?
Thanks!
The text was updated successfully, but these errors were encountered: