Closed ghost closed 7 years ago
Hi! You're using a Node.js version that is too old. You need to upgrade your Node.js runtime to the latest version.
The util.promisify
function used by this plug-in was introduced in Node version 8 (see: https://nodejs.org/api/util.html#util_util_promisify_original).
Hello Sir. I got an issue when I applied your library in my current WordPress front-end setup. Here it is:
Error: [@cedx/gulp-php-minify] promisify is not a function at Minifier._transform (/home/mguyromelle/web-projects/vvv/www/tagumgov/htdocs/wp-content/themes/wp-bootstrap-starter-child/node_modules//lib/minifier.js:94:30) at runMicrotasksCallback (internal/process/next_tick.js:64:5) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickDomainCallback (internal/process/next_tick.js:128:9)
Hoping for an answer as soon as possible. Im currently working this for a client. Deadline is soon.