Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with the passthrough option of Gulp 4 #89

Open
julien-f opened this issue Mar 26, 2015 · 6 comments
Open

Does not work with the passthrough option of Gulp 4 #89

julien-f opened this issue Mar 26, 2015 · 6 comments

Comments

@julien-f
Copy link

var gulp = require('gulp');
var concat = require('gulp-concat');

gulp.task(function foo() {
  return gulp.src('src/*.css', {
    passthrough: true,
  })
    .pipe(concat('styles.css'))
    .pipe(gulp.dest('dist/'))
  ;
});

styles.css is never written.

It does work with gulp-continuous-concat.

@yocontra
Copy link
Member

Is this still a problem? That option has had some work done to it

@Sawtaytoes
Copy link

This is also broken for me on 2.6.0 when using gulp-filter: sindresorhus/gulp-filter#56

@ysndmr
Copy link

ysndmr commented Jan 19, 2018

I have also this problem and i haven't got any idea about that how can i fix it. I tried alot but I could not find the solution.

Error in plugin 'gulp-concat'
Message:
Missing file option for gulp-concat

/home/virtualservers/gulptest/node_modules/decomment/node_modules/esprima/dist/esprima.js:3391
throw error;
^
Error: Line 1: Unexpected token ILLEGAL

@Alecto
Copy link

Alecto commented Oct 18, 2018

tried it - does not work with gulp 4, still no solution?

[16:55:02] 'concat' errored after 16 ms
[16:55:02] Error: File not found with singular glob: D:/webProjects/motobratva/my/alecto/my/styles/all/template/highslide/highslide-full.min.js (if this was purposeful, use allowEmpty option)
at Glob. (D:\node_modules\glob-stream\readable.js:84:17)
at Object.onceWrapper (events.js:273:13)
at Glob.emit (events.js:182:13)
at Glob.EventEmitter.emit (domain.js:442:20)
at Glob._finish (D:\node_modules\glob\glob.js:197:8)
at done (D:\node_modules\glob\glob.js:182:14)
at Glob._processSimple2 (D:\node_modules\glob\glob.js:688:12)
at D:\node_modules\glob\glob.js:676:10
at Glob.stat2 (D:\node_modules\glob\glob.js:772:12)
at lstatcb
(D:\node_modules\glob\glob.js:764:12)

Process finished with exit code 1

but the file exists and the same task with gulp 3.9.1 works.

@yocontra
Copy link
Member

@Alecto That error isn't coming from this plugin.

@phated
Copy link
Member

phated commented Oct 18, 2018

@Alecto like contra said - please read your error messages, which explicitly states your issue:

File not found with singular glob: D:/webProjects/motobratva/my/alecto/my/styles/all/template/highslide/highslide-full.min.js (if this was purposeful, use allowEmpty option)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants