gpt4 book ai didi

macos - 如何在 OS X El Capitan 上安装 ngrok?

转载 作者:行者123 更新时间:2023-12-02 00:40:03 30 4
gpt4 key购买 nike

首先,我尝试从网站下载 ngrok-stable-darwin-amd64.zip。当我尝试通过终端解压缩时,我得到:

Archive:  /Users/User/Downloads/ngrok-stable-darwin-amd64.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /Users/User/Downloads/ngrok-stable-darwin-amd64.zip or
/Users/User/Downloads/ngrok-stable-darwin-amd64.zip.zip, and cannot find /Users/User/Downloads/ngrok-stable-darwin-amd64.zip.ZIP, period.

使用 Unarchiver 解压缩响应:

There was a problem while reading the contents of the file "ngrok-stable-darwin-amd64.zip": Data is corrupted

尝试了自制路线,brew cask install ngrok,但无济于事:

==> Downloading https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-amd64.z
##### 7.0%
curl: (56) SSLRead() return error -9806
Error: Download failed on Cask 'ngrok' with message: Download failed: https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-amd64.zip
The incomplete download is cached at /Users/User/Library/Caches/Homebrew/Cask/ngrok--2.1.3,4VmDzA7iaHb.zip.incomplete

我正在尝试启用 Vagrant share .为什么我无法安装 ngrok,或者更重要的是,我该如何安装?

谢谢。

最佳答案

您可以将 ngrok 安装为全局 npm 包。试试这个:

npm install ngrok -g

欲了解更多信息,请访问检查 this page .

关于macos - 如何在 OS X El Capitan 上安装 ngrok?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47378263/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com