Search code examples
javascriptnode.jsnpmgulpnpm-install

Gulp install works but gulp is not responding


I am following the "gulp quick start" and everything is getting installed without error messages neither warnings. But when I try to check the gulp version on the end of the "gulp quick start" it returns 'gulp' is not recognized as an internal or external command,operable program or batch file.

The gulp quick start: GULP

When I check the first things in the "gulp quick start" the "check for node,npm and npx" it all works fine. I am getting normal responses.

The next step is installing gulp

When I install gulp evereything goes whell, the files are being created there our no error/ warnings displayed.

BUT when I am trying to run a gulp command on the end of the installation to test if gulp works. it returns gulp' is not recognized as an internal or external command,operable program or batch file.

I tried installing it multiple times. I have no idea what i am doing wrong.

Any help is welcome.

My device is running windows 10


Solution

  • I have no idea why but... my npm was broken.

    I tried to download something with npm but that did not work ass well so I figured my npm was broken.

    When I reinstalled npm everything worked fine.