卷曲没有连接

问题描述

我在这里尝试安装自制软件:

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$ 

解决方法

我在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

地安装检查

$ /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吗?谢谢!

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...