Git Product home page Git Product logo

Comments (15)

yairEO avatar yairEO commented on August 29, 2024 28

@bradodarb - The fix was to go back to v3 :)

from undertaker.

ku3mich avatar ku3mich commented on August 29, 2024 8

https://fettblog.eu/gulp-4-parallel-and-series/
because
gulp.task(name, deps, func) was replaced by gulp.task(name, gulp.{series|parallel}(deps, func))

from undertaker.

phated avatar phated commented on August 29, 2024 5

@voyti there's a great article about upgrading in our docs: https://www.liquidlight.co.uk/blog/article/how-do-i-update-to-gulp-4/

from undertaker.

voyti avatar voyti commented on August 29, 2024 1

@phated All clear, thank you!

from undertaker.

bradodarb avatar bradodarb commented on August 29, 2024

What was the fix @yairEO ?

from undertaker.

voyti avatar voyti commented on August 29, 2024

@yairEO More in-depth analysis would be appreciated, since I'm having the same issue ;)

from undertaker.

NextSeason avatar NextSeason commented on August 29, 2024

I got the same Error Message with a simple task :

gulp.task( 'js', () => {
    return gulp.src( 'src/**/*.js', { buffer : false } )
        .pipe( cached( 'js' ) )
        .pipe( pkg() )
        .pipe( directive() )
        .pipe( gulp.dest( 'output' ) );
} );

from undertaker.

lucien144 avatar lucien144 commented on August 29, 2024

@NextSeason Have you found a solution? Having the same issue with similar simple task.

from undertaker.

lucien144 avatar lucien144 commented on August 29, 2024

@NextSeason Ok, just found issue on my side in gulpfile.js with one wrong task definition -> be sure your gulpfile.js is all correct and all your tasks are written correctly!

from undertaker.

yairEO avatar yairEO commented on August 29, 2024

I've tried again last night to change to Gulp 4, and again faced an hour of nightmare compatibility issues.
I managed to make it work, except gulp.watch which won't work for some reason and the internet did not present any answer.

from undertaker.

NextSeason avatar NextSeason commented on August 29, 2024

@lucien144 I did not find anyway to solve this problem and reversed to V3.

from undertaker.

lucien144 avatar lucien144 commented on August 29, 2024

@yairEO @NextSeason Guys, can you post here your gulpfile.js so we can check? I've got pretty complex gulpfile.coffee and switch from v3 to v4 was (after some struggling :)) pretty ok.

from undertaker.

NextSeason avatar NextSeason commented on August 29, 2024

@lucien144 There are several separate javascript files and some gulp tasks written by myself, every of them might cause this error, so it's too complex to paste all of them here. I don't want to check it again, so I can't waste others' time here to read my code line by line. Maybe I will refactor my code someday If version 3 cannot satisfy my requirement or for some reasons else.

from undertaker.

phated avatar phated commented on August 29, 2024

These discussions belong on StackOverflow, not deep in a closed issue ☚ī¸

from undertaker.

philipmw avatar philipmw commented on August 29, 2024

Thanks. I ran into this problem too, and ku3mich's link solved my problem. This is a documentation problem at this point; https://github.com/gulpjs/gulp/blob/master/docs/API.md is still describing v3's API.

from undertaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.