【发布时间】:2020-01-28 03:42:52
【问题描述】:
我正在尝试构建 c++ 项目并看到以下错误: 请你看一下好吗?
/bin/sh: npm: command not found
make[2]: *** [modules/GUI/CMakeFiles/Client] Error 127
make[1]: *** [modules/GUI/CMakeFiles/Client.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
我关注了这个维基:sudo: npm: command not found 但这对我不起作用。
For MAC users, the follow steps worked for me, the error still there.
$ brew update
$ brew uninstall node
$ brew install node
$ brew postinstall
【问题讨论】:
标签: node.js macos makefile cmake