#uh oh-cli
1 messages · Page 1 of 1 (latest)
Even after I successfully login on Stripe
"Access granted
You may now close this window and return to the CLI."
Hi there! Please don't share the output of this command in full. Are you able to run stripe config --list and see information about your account?
Also, can you confirm which command you're running when you get the Waiting for confirmation message?
stripe login
It says no such file or directory
I also tried
Let's take one step back just to make sure we're on the same page
I believe the login command is failing because of a missing file, but that file should have been created during installation. Could you confirm this step was completed? https://stripe.com/docs/stripe-cli#install
Yup, I installed stripe cli with homebrew and I cannot login because of the error above
I reinstalled it again and it still says permission denied
Got it
👋 Hoping in since roadrunner has to head out
Hi!
Has the stripe CLI worked for you in the past, or is this your first time using it?
It's sounding like something went wrong during the installation process/some permission is missing - we just need to pinpoint what it is
It's not the first time I'm using it but I did set it up again on a new machine
Is no such file or directory all that you get, or is there a full error message w/ details about which file/directory it's looking for?
uh oh-cli
That's all I get
open <path>/.config/stripe/config.toml: no such file or directory
Is the only response I get
Are you using docker or anything like that?
No
Let's try a couple of things - what happen when you do stripe login --interactive
it asks me to enter my API key
Is that the standard publishable key?
In the Developers > API Keys > Standard key > Publishable key?
It wants your secret key (sk_test_xxx)
It still says permission denied
at the end
How would you like to identify this device in the Stripe Dashboard? <my device name>
And when I press enter it says permission denied
should I try using sudo?
I think I found the issue...
I just needed to user sudo permission
nice!