ahmadajmi / underscore-wordpress-with-gulp

34 stars 11 forks source link

Needs updating for Gulp 4 #1

Open Paul-Morris opened 6 years ago

Paul-Morris commented 6 years ago

Thanks for the tutorial at https://www.sitepoint.com/wordpress-theme-automation-with-gulp/

It looks like the gulpfile.js doesn't work with gulp 4.0.0

AssertionError [ERR_ASSERTION]: Task function must be specified at Gulp.set [as _setTask] (/Volumes/osx/Users/Paul/Sites/lola/wp-content/themes/thinklola/node_modules/undertaker/lib/set-task.js:10:3) at Gulp.task (/Volumes/osx/Users/Paul/Sites/lola/wp-content/themes/thinklola/node_modules/undertaker/lib/task.js:13:8) at Object.<anonymous> (/Volumes/osx/Users/Paul/Sites/lola/wp-content/themes/thinklola/gulpfile.js:13:6) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18)

ahmadajmi commented 6 years ago

You are most welcome @Paul-Morris, thank you! I will check this out ...

ahmadajmi commented 6 years ago

I think it would be great to upgrade to gulp 4.0.0. If you are open to contribute or anyone, that would be awesome 😉