简体   繁体   English

在 macbook 上第一次运行 javascript 文件时延迟符号绑定失败

[英]Lazy symbol binding failed when running a javascript file for the first time on macbook

Ive installed vs code, node js and code runner on my mac but when i tried running a javascript file for the first time I received this error Dyld: Lazy symbol binding failed:symbol not found:__chkstk_darwin我已经在我的 mac 上安装了 vs code、node js 和 code runner,但是当我第一次尝试运行 javascript 文件时,我收到了这个错误 Dyld: Lazy symbol binding failed:symbol not found:__chkstk_darwin

I tried console.log('hello world').我试过 console.log('hello world')。 The expected output should be 'hello world'预期的输出应该是“你好世界”

I installed node version 16 and it worked just fine.我安装了节点版本 16,它工作得很好。 Thanks谢谢

If your Mac version is below 10.14 you should install node 16 or below.如果您的 Mac 版本低于 10.14,您应该安装 node 16 或更低版本。 The latest version 18 of Node is build for Mac OS X 10.15. Node 的最新版本 18 是为 Mac OS X 10.15 构建的。 might be relevant issue here 可能是这里的相关问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM