![](/img/trans.png)
[英]Are there constraints on which npm version I can use based on my node version?
[英]My terminal can't check the version of node and npm can't use, and it prompts the following information
我使用 brew 安装了最新版本的节点,但是在终端中检查版本时出现错误。
以下是问题的描述: dyld: initializer function 0x0 not in mapping image for /usr/local/bin/node Abort trap: 6
在终端中尝试以下命令:
node -v
检查此 url 以获取有关在 mac 上安装或重新安装节点的详细信息: https : //www.webucator.com/how-to/how-install-nodejs-on-mac.cfm
另请查看此链接以获取有关您的问题的更多详细信息,并可能更新 brew: https : //github.com/Homebrew/homebrew-core/issues/11713
brew upgrade node
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.