Try running npm install again. Looks like one or more of the node modules didn't get copied correctly.
Mar 1, 2015
11
Level 2
Gulp - cannot find module notify-send
Hi, I installed gulp by following the instructions on the documentation.
But when I now try to run
gulp
I get this error:
Error: Cannot find module './lib/notifiers/notify-send'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/vagrant/Projects/Avalon/node_modules/laravel-elixir/node_modules/gulp-notify/node_modules/node-notifier/index.js:2:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
Any ideas how to fix this? I can't find any solution on the internet
Thank you
Level 2
Okay, now it works. I have no idea why but it works.
The last commands I typed:
sudo npm update sudo npm install -g gulp sudo npm install -g notify-send
Not inside the VM, but outside, in my normal root folder
Please or to participate in this conversation.