Answer the question
In order to leave comments, you need to log in
Why doesn't Gulp create files when running tasks on Windows 8?
I ran into a problem when working with Gulp.js on Windows 8, all tasks work, folders are cleared before assembly, but files are not created, i.e. scripts, styles.
There are no errors in the console, everything seems to be working fine.
What could be the problem?
On Ubuntu the same project works fine, the files are created
gulp.task('scripts', function () {
return gulp.src('assets/js/**/*.js')
.pipe(concat('all.js'))
.pipe(gulp.dest('dist'));
});
Answer the question
In order to leave comments, you need to log in
The problem was solved in this magical way:
In general, I fell for the same problem, for a long time I could not understand why this was happening. I hope it helps someone:
It's about the path on which the folder lies. I had this error on win10 if there were Russian characters and the sign "[ or ]" in the path to the work folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question