gulp command not found

后端 未结 8 1386
萌比男神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 03:05

    On MacOS Catalina v10.15.2, the following global install with sudo worked for me.

    sudo npm install gulp -g
    
    0 讨论(0)
  • 2020-12-07 03:12

    For anyone else who runs into this just run npm install and npm update.

    I ran npm rm --global gulp to clear out any version conflicts and then ran npm install --global gulp-cli. This did a clean install of gulp and it works flawlessly now.

    0 讨论(0)
提交回复
热议问题