Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: [@cedx/gulp-php-minify] promisify is not a function #4

Closed
ghost opened this issue Sep 13, 2017 · 1 comment
Closed

Error: [@cedx/gulp-php-minify] promisify is not a function #4

ghost opened this issue Sep 13, 2017 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented Sep 13, 2017

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.

@cedx cedx self-assigned this Sep 13, 2017
@cedx cedx added the invalid label Sep 13, 2017
@cedx
Copy link
Owner

cedx commented Sep 13, 2017

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).

@cedx cedx closed this as completed Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant