Reputation: 51
sudo npm install -g gulp
on Ubuntu isn't allowing me to access the gulp command.
When cd into my project that has a gulpfile, and run the gulp
command, nothing happens.
which gulp
= /usr/bin/gulp
Anyone know what the issue could be?
EDIT :
I have installed gulp and followed the documentation yet nothing is working.
Upvotes: 0
Views: 1220
Reputation: 51
The problem lied in the paths.
Because some dependencies will use the node
command instead of the nodejs
command, there has to a link to the paths.
sudo ln /usr/bin/nodejs /usr/bin/node
solved this for me.
Upvotes: 3