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

Doesn't work #14

Open
valkedev opened this issue Nov 1, 2020 · 2 comments
Open

Doesn't work #14

valkedev opened this issue Nov 1, 2020 · 2 comments

Comments

@valkedev
Copy link

valkedev commented Nov 1, 2020

looks like Gulp 3 + Node 12 doesn't work. Unfortunately package is useless for now

ReferenceError: primordials is not defined
    at fs.js:36:5
    at req_ (/var/www/wp/immersion/wp-content/themes/immersion/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/var/www/wp/immersion/wp-content/themes/immersion/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/var/www/wp/immersion/wp-content/themes/immersion/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1015:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
    at Module.load (internal/modules/cjs/loader.js:879:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:903:19)
    at require (internal/modules/cjs/helpers.js:74:18)
@idChef
Copy link

idChef commented Nov 24, 2020

You need to downgrade your node version, it is easy with nvm.

https://stackoverflow.com/a/58771749

@erickocrs
Copy link

Gulp 4+ Fix
https://github.com/erickocrs/wordpress-theme-boilerplate/tree/gulp_fix

Now its need's to use some, gulp.series(['func']), gulp.parallel(['func']) to execute an array of functions...
also declare callBackFunctions too

😀👍

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

3 participants