【问题标题】:Curl is not connecting卷曲没有连接
【发布时间】:2020-12-01 09:17:55
【问题描述】:

这是我尝试安装自制软件:

Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Couldn't connect to server
Elijahs-MacBook-Air:~ jah$ 

我正在尝试安装 Deno:

Elijahs-MacBook-Air:~ jah$ curl -fsSL https://deno.land/x/install/install.sh | sh
curl: (7) Couldn't connect to server
Elijahs-MacBook-Air:~ jah$ 

【问题讨论】:

  • curl -vfsSL https://deno.land/x/install/install.sh 的输出是什么?您可能遇到 curl 太旧而无法支持本网站的 SSL 密码的问题。
  • StackOverflow 致力于帮助解决编程代码问题。您的 Q 可能更适合 Super UserAsk Different ,但请阅读他们关于主题问题的帮助部分。并且请先阅读Help On-topicHelp How-to-ask,然后再在此处发布更多问题。祝你好运。

标签: bash shell curl homebrew deno


【解决方案1】:

我运行你的命令没有问题(在我的 Mojave 机器上)。

$  curl -fsSL https://deno.land/x/install/install.sh | sh
######################################################################## 100.0%##O#-#                          ######################################################################## 100.0%
Archive:  /Users/rchen/.deno/bin/deno.zip
  inflating: deno
Deno was installed successfully to /Users/rchen/.deno/bin/deno
Manually add the directory to your $HOME/.bash_profile (or similar)
  export DENO_INSTALL="/Users/rchen/.deno"
  export PATH="$DENO_INSTALL/bin:$PATH"
Run '/Users/rchen/.deno/bin/deno --help' to get started

deno 安装检查

$ /Users/rchen/.deno/bin/deno --help
deno 1.2.3
A secure JavaScript and TypeScript runtime

Docs: https://deno.land/manual
Modules: https://deno.land/std/ https://deno.land/x/
Bugs: https://github.com/denoland/deno/issues

To start the REPL:
  deno
...

既然你已经标记了homebrew,你可以为我运行brew configbrew doctor 吗?谢谢!

【讨论】:

    猜你喜欢
    • 2012-02-28
    • 2017-04-22
    • 2015-02-23
    • 1970-01-01
    • 1970-01-01
    • 2019-08-16
    • 1970-01-01
    • 2016-06-30
    • 1970-01-01
    相关资源
    最近更新 更多