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

STRIPE CLI VS CODE EXTENSION NOT LOGGING ME IN #559

Open
shar27 opened this issue Mar 21, 2022 · 6 comments
Open

STRIPE CLI VS CODE EXTENSION NOT LOGGING ME IN #559

shar27 opened this issue Mar 21, 2022 · 6 comments

Comments

@shar27
Copy link

shar27 commented Mar 21, 2022

Hi,

I am able to login to the stripe cli and I am able to perform the commands but my stripe vs code extension keeps asking me to install. Is this a known bug?

I've tried uninstalling and reinstalling the extension and I have tried doing the same for VS code. However, it is still asking me to install it.

The extension even says that is enabled globally

vs code

@gracegoo-stripe
Copy link
Contributor

Hi Shar, the extension should automatically pick up the default location of the extension but it's possible it cannot find it. There is an extension setting called Stripe: Cli Install Path, can you try adding the path of the cli executable there?

For example, mine is set to /Users/gracegoo/go/src/github.com/stripe/stripe-cli/stripe

@shar27
Copy link
Author

shar27 commented Mar 23, 2022

this is the path

C:\Users\Owner\strapi\stripe.exe

I added that

but i get this error
You set a custom installation path for the Stripe CLI, but we couldn't find the executable in 'c:\Users\Owner\strapi\stripe'

@GalaxHD551
Copy link

GalaxHD551 commented Jun 7, 2022

Hello @shar27 ,
I got the same problem as you and I just resolved it.

I created a folder, and I unziped my exe into it,

So my absolute path is C:\Stripe\stripe_1.9.0_windows_x86_64\stripe.exe

I copy & paste it like this without quotes and it worked

image

@suz-stripe
Copy link
Contributor

@GalaxHD551 thanks for assisting with the issue, I think you're pointing out the problem which is that .exe extension is needed on the end of the custom install path, as you're both using Windows. Could you please try that @shar27 and let us know if it resolves your problem?

@jpcam
Copy link

jpcam commented Dec 15, 2022

For Macs when you 'unzip', the resulting 'executable' is a unix file with no extension so VS Code still cant find it. Any overrides for this?

@sirius829
Copy link

@suz-stripe It actually works well when we set Cli install Path to stripe.exe.
But in most case, we used to specify the route to the folder the file exist.

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

6 participants