Using this plugin, I'm trying to run the following gulp task:
var favicons = require("gulp-favicons"),
gutil = require("gulp-util");
gulp.task('favicons', function () {
return gulp.src('./images/favicon.png').pipe(favicons({
appName: 'My App',
appDescription: 'This is my application',
developerName: 'Hayden Bleasel',
developerURL: 'http://haydenbleasel.com/',
background: '#020307',
path: './images/',
url: 'http://haydenbleasel.com/',
display: 'standalone',
orientation: 'portrait',
start_url: '/?homescreen=1',
version: 1.0,
logging: true,
online: true,
html: 'favicons.html',
pipeHTML: true,
replace: true
}))
.on('error', gutil.log)
.pipe(gulp.dest('./images/favicons/'));
});
But am getting the following error: Error: Cannot find module 'gulp-favicons'
The plugin docs state I should be using Node 4.x or above. I am using v7.7.1
. Any ideas why I'm getting this error? Thank you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.