Gulp v4: Task function must be specified

I’m facing gulp 4 issue Task function must be specified

Node version: 12.9.1
NPM: 6.10.3
(unfortunately, I cannot degrade node)

My gulpfile.js

var gulp = require('gulp');
var sass = require('gulp-sass');
var cleanCss = require('gulp-clean-css');
var rename = require('gulp-rename');

var paths = {
  sass: ['./scss/**/*.scss']

gulp.task('default', ['sass']);

gulp.task('sass', function(done) {
    .on('error', sass.logError)
      keepSpecialComments: 0
    .pipe(rename({ extname: '.min.css' }))
    .on('end', done);

gulp.task('watch', ['sass'], function() {, ['sass']);

my package.json

        "gulp": "^4.0.2",
        "gulp-clean-css": "^4.2.0",
        "gulp-rename": "^1.4.0",
        "gulp-sass": "^4.0.2",

Does anyone has updated gulp.js for ionic 1 & node 12+ ?
(Meanwhile, I’m looking into the migration of gulpfile.js to v4 syntax)

I’m having the same problem, any news?

Unfortunately, there is no quick fix, we need to read a little about the change of syntax between version 3 and 4 of gulp, however, this article I share with you has helped me a lot.