gulp-plumber module cannot be found?

4.5k views Asked by At

I'm fairly new to Gulp and I can't overcome one issue.

I need to install my dependencies globally (not locally), so I've done npm -g install & also tried to install them all separately with -g flag.

Anyway, SASS works, Coffee works, everything works, but when I run "gulp" i get:

module.js:338
    throw err;
          ^
Error: Cannot find module 'gulp-plumber'

Checking if it's installed:

npm list -g gulp-plumber

/usr/local/lib
└── [email protected] 

Looks a-okay.

Checking SASS the same way:

npm list -g gulp-sass
/usr/local/lib
└── [email protected]

If they're both installed why my gulp "can't see" plumber alone? How do I fix that?

1

There are 1 answers

0
Sundeep Sharma On BEST ANSWER

Please try below command it should work.

npm set registry http://registry.npmjs.org/