ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
29.73k stars 5.37k forks source link

M2 芯片Macbook编译后无法运行 #1216

Open thingsc opened 1 year ago

thingsc commented 1 year ago

在M2芯片的 Macbook Air 上编译后运行,出现了以下错误,请问大家有遇到吗,如何解决呢?

2023/06/19 11:32:53.354 [I] [npc.go:231] the version of client is 0.26.10, the core version of client is 0.26.0 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x102fb1b3c]

goroutine 50 [running]: ehang.io/nps/client.StartFromFile({0x10300a3c9, 0xd}) /private/etc/nps/nps_source/client/control.go:94 +0x3c created by main.run /private/etc/nps/nps_source/cmd/npc/npc.go:244 +0x4cc