'gulp' is not recognized as an internal or external command

后端 未结 11 2051
生来不讨喜
生来不讨喜 2021-02-03 17:03

I am trying to use Gulp and Node.Js to stream my process for minifying and concatenating CSS/JS files for production.

Here is what I have done.

  1. I installed
11条回答
  •  你的背包
    2021-02-03 17:47

    I had similar issue when I installed locally initially(w/o -g). I reinstalled with -g (global) and then it worked.

    npm install -g gulp
    

    you should run gulp from folder where gulpfile.js is available.

提交回复
热议问题