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

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

    You need to make sure, when you run command (install npm -g gulp), it will create install gulp on C:\ directory.

    that directory should match with whatver npm path variable set in your java path.

    just run path from command prompt, and verify this. if not, change your java class path variable wherever you gulp is instaled.

    It should work.

提交回复
热议问题