【发布时间】:2016-05-01 22:52:46
【问题描述】:
我用 brew 'brew install node' 安装了节点,我收到一条警告消息
'Warning: The post-install step did not complete successfully'.
当我输入 node -v 时,我确实可以看到 node 的当前版本,但是当我尝试查找 npm 的当前版本时,我得到了这个错误。
-bash: /usr/local/bin/npm: No such file or directory
NPM 不存在的原因是因为安装后步骤没有成功完成吗?
【问题讨论】:
标签: node.js shell npm homebrew