gulp command not found

后端 未结 8 1428
萌比男神i
萌比男神i 2020-12-07 02:19

Windows 10 pro x64

I ran the following commands

npm install --global gulp-cli
npm init

Then I changed directory to my project:

8条回答
  •  余生分开走
    2020-12-07 02:58

    I had got into the same issue. Even after npm install gulp -g and npm install bower -g, both gulp and bower showed the error.

    Here is the thing to remember. 1. gulp and bower command does not run in root (sudo). Switch back to the system user and the run it 2. Make sure the folder where you are running gulp has the user permission. else the permission will be denied

    Hope this works for you

提交回复
热议问题