-
Notifications
You must be signed in to change notification settings - Fork 174
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
Update to gulp 4. #915
Update to gulp 4. #915
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Never used gulp 4, so I have some questions.
gulpfile.coffee
Outdated
@@ -122,30 +119,29 @@ gulp.task('install.rdf', -> | |||
.pipe(gulp.dest(DEST)) | |||
) | |||
|
|||
gulp.task('templates', [ | |||
gulp.task('templates', gulp.series( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be parallel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be if it works. Changed.
gulpfile.coffee
Outdated
) | ||
)) | ||
|
||
gulp.task('default', gulp.series(['push'])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is gulp.series
supposed to be given an array here? The other gulp.series
are not given arrays.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake. Fixed.
This fixes the build for recent versions of node.
What does this fix, and for what version of Node? |
It fixes this issue: nodejs/node#20285 All gulp commands were failing for me and I tried a number of things but upgrading gulp helped. My node version is:
|
I tried to build VimFx today and gulp with node 10 failed with coredumps. I heard from others that node 10 had broken all their projects so I turned to an old node. |
@lilydjwg Does this patch fix it for you? |
@kevincox Yes, I just tried and it worked. |
Thanks! |
This fixes the build for recent versions of node.