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

后端 未结 9 2220
悲&欢浪女
悲&欢浪女 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条回答
  •  -上瘾入骨i
    2020-11-28 18:31

    I solved the issue without reinstalling node using the commands below:

    $ npm uninstall --global gulp gulp-cli
    $ rm /usr/local/share/man/man1/gulp.1
    $ npm install --global gulp-cli
    

提交回复
热议问题