Y
Y
Yunus Gaziev2014-12-03 11:03:38
gulp.js
Yunus Gaziev, 2014-12-03 11:03:38

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'));
});

I tried the slash option, everything is the same, and + does not create folders either

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yunus Gaziev, 2014-12-03
@BBoyJuss

The problem was solved in this magical way:

  1. Created a project folder via Terminal
  2. Installed all dependencies

D
Drm, 2015-11-21
@Drm

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 question

Ask a Question

731 491 924 answers to any question