ngrok 二进制文件执行不适用于 catalina(mac os)

ngrok binary file execution is not working on catalina(mac os)

最近我已经更新到 Catalina,当我尝试 运行 ngrok 时出现以下错误:

-bash: ./ngrok: cannot execute binary file

下面是文件和系统的详细信息:

cmd:- file ./ngrok
output:- ./ngrok: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=WiQDkmDKISYhEPN12k-3/C6vlWFNDOR0o0u0x3X26/VIi6gzoMVXoqHTYgeFTz/LKswZ3xo2O5g2OnUiOwZ, not stripped

cmd:- uname -a
output:- Darwin XXXXXXX-MacBook-Air.local 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64

任何更新将不胜感激

这是一个访问权限问题,但这个 npm 模块解决了它 https://www.npmjs.com/package/ngrok,现在它工作顺利。