gulp command does not work

Posted on Feb 25, 2023

Question

I am using ubuntu 14.04 LTS, I have nodejs (not node) and npm installed. I had installed gulp using npm install gulp -g.

But my command gulp does not work, it runs silently returning nothing!

enter image description here

Answer

I ran into the same problem today on Ubuntu 14.04 LTS. After debugging I noticed that I had accidentally installed nodejs and node using apt-get. After running

sudo apt-get remove node

the problem was fixed.

Hope this helps.