-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Error - "Task function must be specified" #54
Comments
What was the fix @yairEO ? |
@bradodarb - The fix was to go back to v3 :) |
@yairEO More in-depth analysis would be appreciated, since I'm having the same issue ;) |
@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/ |
@phated All clear, thank you! |
I got the same gulp.task( 'js', () => {
return gulp.src( 'src/**/*.js', { buffer : false } )
.pipe( cached( 'js' ) )
.pipe( pkg() )
.pipe( directive() )
.pipe( gulp.dest( 'output' ) );
} ); |
@NextSeason Have you found a solution? Having the same issue with similar simple task. |
@NextSeason Ok, just found issue on my side in |
I've tried again last night to change to Gulp 4, and again faced an hour of nightmare compatibility issues. |
@lucien144 I did not find anyway to solve this problem and reversed to V3. |
@yairEO @NextSeason Guys, can you post here your |
@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. |
These discussions belong on StackOverflow, not deep in a closed issue |
https://fettblog.eu/gulp-4-parallel-and-series/ |
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. |
I've updated my GULP to
v4
and i'm getting this error. Here's the log:The text was updated successfully, but these errors were encountered: