0

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

J.vee
  • 623
  • 1
  • 7
  • 26
  • Try `npx gulp whatever`, gulp is likely not installed globally. Either that or do `npm -g i gulp`. – zero298 Feb 12 '19 at 21:18
  • @zero298 I did install gulp globally when I try your first suggestion i am getting the return `[22:22:55] Local gulp not found in ~\Documents\example\example\example [22:22:55] Try running: npm install gulp` when I try your second suggestion I am getting the message that gulp is already installed – J.vee Feb 12 '19 at 21:25
  • Did you restart your command line, under certain conditions, you need to restart it to see new commands. – Ferrybig Feb 14 '19 at 07:16
  • @Ferrybig i did. I even restarted my pc a few times. – J.vee Feb 14 '19 at 07:17
  • That's might be helpful https://stackoverflow.com/questions/9587665/nodejs-cannot-find-installed-module-on-windows/9588052#9588052 – E.Omar Feb 14 '19 at 07:22

1 Answers1

0

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.

J.vee
  • 623
  • 1
  • 7
  • 26