E
E
Egor952018-03-20 20:43:22
Node.js
Egor95, 2018-03-20 20:43:22

Gulp error: write callback called multiple times?

Hello guys, help with an error, I'm new to this topic. The error occurs when building the project and occurs
in this task (task below). And it works on windows without errors. The error only occurs when building on macOS.
5ab1478285432555500950.jpeg
gulp.task('js', ['common-js'], function() {
return gulp.src([
'app/libs/jquery/dist/jquery.min.js',
'app/libs/slider-range /jquery-ui.min.js',
'app/libs/slider-range/jquery.ui.touch-punch.min.js',
'app/libs/lity/dist/lity.min.js',
'app /libs/wallop/js/Wallop.min.js',
'app/libs/scrollmagic/scrollmagic/minified/ScrollMagic.min.js',
'app/libs/isotope-layout/dist/isotope.pkgd.min.js ',
'
'app/libs/google-init/google-init.js',
'app/libs/fotorama/fotorama.js',
'app/libs/Likely/release/likely.js',
'app/js/common.min .js', ])
.pipe(concat('scripts.min.js'))
.pipe(gulp.dest('app/js'))
.pipe(browserSync.reload({stream: true}));
});
It would be great if someone could explain to me why this is so?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2018-03-25
@decidento

What gives out gulp -v?

> gulp -v
[13:26:57] CLI version 3.9.1
[13:26:57] Local version 3.9.1

Perhaps the problem is due to the fact that gulp-cli is installed globally

S
stayacid, 2019-06-19
@stayacid

There was a similar error on windows. Perhaps you really need to change the version of the node, but it didn’t start for me until I deleted the node_modules folder and re-entered npm i

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question