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

后端 未结 18 1387
野趣味
野趣味 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:54

    When I was using gulp i got this error.

    ~$ gulp
    

    /usr/bin/env: ‘node’: No such file or directory

    This was removed by executing following command you have to keep in mind that /usr/bin directory has all permissions.

    ~$ ln -s /usr/bin/nodejs /usr/bin/node
    

    this works for me..

提交回复
热议问题