After installation of Gulp: “no command 'gulp' found”

后端 未结 9 2241
悲&欢浪女
悲&欢浪女 2020-11-28 17:45

After installing gulp.js via npm, I receive a no command \'gulp\' found error when running the gulp command from the same directory it was installe

9条回答
  •  半阙折子戏
    2020-11-28 18:34

    I actually have the same issue.

    This link is probably my best guess:

    nodejs vs node on ubuntu 12.04

    I did that to resolve my problem:

    sudo apt-get --purge remove node 
    sudo apt-get --purge remove nodejs 
    sudo apt-get install nodejs
    sudo ln -s /usr/bin/nodejs /usr/bin/node
    

提交回复
热议问题