条带登录zsh:找不到命令:条带 [英] stripe login zsh: command not found: stripe

查看:51
本文介绍了条带登录zsh:找不到命令:条带的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注条纹文档,当我进入 stripe登录在步骤2中,出现以下错误:

I'm following stripes docs and when I go to stripe login in step 2, I get the following error:

zsh:找不到命令:条带

zsh: command not found: stripe

我已经执行了第1步,安装了条带CLI,为什么会出现此错误?

I already performed step 1, installing the stripe CLI, Why am I getting this error?

我意识到,我在步骤1中遇到以下错误:(检查update2)

I realized, that I am getting the following error for step 1: (Check update2)

nmaer@nmaer-MBP SignUpFlowFanclub % brew install stripe/stripe-cli/stripe
Error: 
  homebrew-core is a shallow clone.
To `brew update`, first run:
  git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2
==> Installing stripe from stripe/stripe-cli
==> Downloading https://github.com/stripe/stripe-cli/releases/download/v1.5.9/stripe_1.5.9_mac-os_x86_64.tar.gz
Already downloaded: /Users/nmaer/Library/Caches/Homebrew/downloads/afda22020bd67ba6a51e1c4420ec72f009db3462b48c7675b83b1fa0b77928af--stripe_1.5.9_mac-os_x86_64.tar.gz
Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2
Error: Your Command Line Tools (CLT) does not support macOS 11.
It is either outdated or was modified.
Please update your Command Line Tools (CLT) or delete it if no updates are available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

Error: An exception occurred within a child process:
  SystemExit: exit

推荐答案

我通过运行以下命令重新安装了 homebrew .

I re-installed homebrew by running:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

然后我再次运行 brew install stripe/stripe-cli/stripe ,这次它没有任何问题.

Then I ran brew install stripe/stripe-cli/stripe again, and this time it worked without any problems.

这篇关于条带登录zsh:找不到命令:条带的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆