Skip to content
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

Merged
merged 1 commit into from
May 6, 2018
Merged

Update to gulp 4. #915

merged 1 commit into from
May 6, 2018

Conversation

kevincox
Copy link
Contributor

@kevincox kevincox commented May 5, 2018

This fixes the build for recent versions of node.

Copy link
Collaborator

@lydell lydell left a 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(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be parallel?

Copy link
Contributor Author

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']))
Copy link
Collaborator

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.

Copy link
Contributor Author

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.
@lydell
Copy link
Collaborator

lydell commented May 5, 2018

What does this fix, and for what version of Node?

@kevincox
Copy link
Contributor Author

kevincox commented May 5, 2018

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:

% node --version
v10.0.0

@lilydjwg
Copy link
Contributor

lilydjwg commented May 5, 2018

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.

@kevincox
Copy link
Contributor Author

kevincox commented May 5, 2018

@lilydjwg Does this patch fix it for you?

@lilydjwg
Copy link
Contributor

lilydjwg commented May 5, 2018

@kevincox Yes, I just tried and it worked.

@lydell lydell merged commit 176c635 into akhodakivskiy:master May 6, 2018
@lydell
Copy link
Collaborator

lydell commented May 6, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants