【发布时间】:2011-11-22 09:23:00
【问题描述】:
我正在尝试使用this gist 中的“git all the way”方法在 ubuntu 11.04 上安装npm
在npm 上运行sudo make install 后,我不断收到此错误
$ sudo make install
! [ -d .git ] || git submodule update --init --recursive
node cli.js install -g -f
bash: node: command not found
make: *** [install] Error 127
我知道bash 有问题,但我不太擅长 bash。
编辑
在终端中运行node 命令会按预期显示node shell
【问题讨论】:
标签: linux bash node.js ubuntu-11.04 npm