Cannot install NodeJs: /usr/bin/env: node: No such file or directory

后端 未结 18 1116
野趣味
野趣味 2020-11-28 00:01

I\'m trying to install nodeJs into my Ubuntu 14.04 in order to use GruntJs.

I\'ve read about Ubuntu different way of doing it (issues?), so this is what I\'ve done i

18条回答
  •  有刺的猬
    2020-11-28 00:34

    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
    

提交回复
热议问题