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

后端 未结 11 2036
生来不讨喜
生来不讨喜 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:50

    In my case, this problem occured because I did npm install with another system user in my project folder before. Gulp was already installed globally. After deleting folder /node_modules/ in my project, and running npm install with the current user, it worked.

提交回复
热议问题