美文网首页
Mac telent命令识别不了

Mac telent命令识别不了

作者: 小圆圈Belen | 来源:发表于2020-08-15 09:09 被阅读0次

    1.brew install telent

    报错:Error: No available formula with the name "telent"
    image.png
    解决:

    brew的安装:https://www.jianshu.com/p/b7b789a2ed2c

    1.rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core;
    2.brew update
    3.brew install telent
    此时再出现如下问题:

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: the remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core` exited with 128.
    Error: Failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.
    

    解决方案:
    (1)在命令行中输入git config --list 查看http.postbuffer的值
    (2)如果值小于 524288000,就修改其值。在命令行输入:
    git config --global http.postBuffer 524288000
    (3)然后再此输入git config --list查看配置成功
    4.再次执行步骤3
    5.如果还是失败,提醒如下错误:

    Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core` exited with 128.
    Error: Failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.
    

    解决方案:
    在命令行将git clone https://github.com.....改为git clone git://github.com.....

    image.png
    6.检查安装成功telent
    image.png
    记住:
    上面的操作执行后还是失败,那就关了终端,再打开直接执行第6步检查telent的安装!!!
    真的是一直在提醒失败,发现重启终端就好了😂

    相关文章

      网友评论

          本文标题:Mac telent命令识别不了

          本文链接:https://www.haomeiwen.com/subject/pdqndktx.html