Gulp error after upgrading node to v10.4.1
A complete artical about this: https://davidsekar.com/nodejs/upgrading-your-gulp-for-running-with-node-v10
resume:
gulp 3.x doesn't work with node 10.x
remove gulp
npm rm -g gulp
install gulp-cli (a gulp-cli package was introduced, check it here https://www.npmjs.com/package/gulp-cli)
npm i gulp-cli -g
install gulp v4 locally in your project
npm i gulp@next --save-dev
Last thing you need to make changements to your gulpfile.js, syntax and features changed. So read the artical for that, it's simple and straight forward. Here it is again.
Don't understand why but run npm i natives
solved the problem for me.