ngrok二进制文件执行在Catalina上不起作用(Mac OS)

时间:2019-12-21 14:54:23

标签: macos binary macos-catalina ngrok

最近我已更新到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

任何更新将不胜感激

1 个答案:

答案 0 :(得分:0)

这是一个访问权限问题,但是此npm模块解决了https://www.npmjs.com/package/ngrok,现在可以正常工作了。