run npm command gives error “/usr/bin/env: node: No such file or directory

2017-01-12 0 条评论 366 次阅读 0 人点赞

I've found this is often a misnaming error, if you install from a package manager you bin may be called nodejs so you just need to symlink it like so "ln -s /usr/bin/nodejs /usr/bin/node"so: just run ln -s /usr/bin/nodejs /usr/bin/node on commend line

TestSmirk

这个人太懒什么东西都没留下

文章评论(0)