gulpjs / gulp

A toolkit to automate & enhance your workflow

Home Page:https://gulpjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not support node22

yuu2lee4 opened this issue · comments

commented

Before you open this issue, please complete the following tasks:

  • use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
  • if you are looking for help from the gulp team or community, open a discussion.
  • if you think there is a problem with the plugin you're using, open a discussion.
  • if you think there is a bug in our code, open this issue.

What were you expecting to happen?

work with node22

What actually happened?

not work with node22

Please give us a sample of your gulpfile

import gulp from 'gulp'
import uglify from 'gulp-uglify'

gulp.task('minify-js', function () {
  return gulp.src('assets/*.js')
    .pipe(uglify())
    .pipe(gulp.dest('dist/assets'))
})

Terminal output / screenshots

image

$ gulp

Please provide the following information:

  • OS & version [e.g. MacOS Catalina 10.15.4]: Macos 12.7.4
  • node version (run node -v):22.0.0
  • npm version (run npm -v):10.5.1
  • gulp version (run gulp -v): CLI version: 3.0.0 Local version: 5.0.0

Additional information

Duplicate of gulpjs/vinyl-fs#350

This is a bug in node that is being fixed upstream.