From d7a09e7dd1ade169d00f2e87cfb8b7a01deaed09 Mon Sep 17 00:00:00 2001 From: Sreekumar Menon Date: Wed, 10 Feb 2016 10:26:29 -0800 Subject: [PATCH 1/2] update wiredep task to fix wiredep error newer version of gulp inject does not allow first parameter(js) as string ,expects a stream gulp.src 10:21:17] 'wiredep' errored after [10:21:17] Error in plugin 'gulp-inject' Message: passing target file as a string is deprecated! Pass a vinyl file stream (i.e. use `gulp.src`)! --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index e2afca37..afbed11a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -135,7 +135,7 @@ gulp.task('wiredep', function() { return gulp .src(config.index) .pipe(wiredep(options)) - .pipe(inject(js, '', config.jsOrder)) + .pipe(inject(gulp.src(config.js), '', config.jsOrder)) .pipe(gulp.dest(config.client)); }); From c7c6add2c09c1c4b77e1e044c4f9b506db1d0ea1 Mon Sep 17 00:00:00 2001 From: Sreekumar Menon Date: Wed, 10 Feb 2016 10:28:25 -0800 Subject: [PATCH 2/2] update wiredep task to fix wiredep error fixing js --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index afbed11a..b1d738c0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -135,7 +135,7 @@ gulp.task('wiredep', function() { return gulp .src(config.index) .pipe(wiredep(options)) - .pipe(inject(gulp.src(config.js), '', config.jsOrder)) + .pipe(inject(gulp.src(js), '', config.jsOrder)) .pipe(gulp.dest(config.client)); });