#uh oh-cli

1 messages · Page 1 of 1 (latest)

pale needleBOT
random hearth
#

Even after I successfully login on Stripe

#

"Access granted
You may now close this window and return to the CLI."

marsh tartan
#

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?

random hearth
random hearth
marsh tartan
#

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

random hearth
#

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

marsh tartan
#

Got it

random hearth
#

stripe config --list

#

still gives "no such file or directory" error

ashen stump
#

👋 Hoping in since roadrunner has to head out

random hearth
#

Hi!

ashen stump
#

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

random hearth
ashen stump
#

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

random hearth
#

That's all I get

#

open <path>/.config/stripe/config.toml: no such file or directory

#

Is the only response I get

ashen stump
#

Are you using docker or anything like that?

random hearth
#

No

ashen stump
#

Let's try a couple of things - what happen when you do stripe login --interactive

random hearth
#

it asks me to enter my API key

#

Is that the standard publishable key?

#

In the Developers > API Keys > Standard key > Publishable key?

ashen stump
#

It wants your secret key (sk_test_xxx)

random hearth
#

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

ashen stump
#

nice!