SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\xampp\htdocs\wmcflnew\wp-content\themes\wmcfl\gulpfile.js:46:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
Hi there,
I've just tried to install the theme, did the usual installation of npm etc... when initialising gulp I get...
C:\xampp\htdocs\wmcflnew\wp-content\themes\wmcfl>gulp C:\xampp\htdocs\wmcflnew\wp-content\themes\wmcfl\node_modules\del\index.js:2 const {promisify} = require('util'); ^
SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (C:\xampp\htdocs\wmcflnew\wp-content\themes\wmcfl\gulpfile.js:46:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
Any ideas?