Closed mware closed 3 years ago
Hi @mware, you are using an old and unsupported version of Node.js. I recommend that you update your node version, which may be the cause here. At least use the LTS version.
If you sign up on NodeCLI.com (free signup at the top), you'll get an email for the first 12 free videos; in these videos, I teach installing Node.js and its different versions to keep up using a script called n
. That should be helpful.
Face palm. Thanks @ahmadawais . That worked.
I'm having the same problem. What version should we be using of Node?
The active or maintenance LTS version should work. Watch this video I made https://nodecli.com/n
Bug Report
Expected Behavior
I've been using WPGulp on several projects for a few years now and love it. But on the last 3 installs this week, early February 2021, the initial build fails, noting a fail in the start script. I run
npx wpgulp
adjust wpgulp.config.js to my particulars then runnpm start
Files don't compile. Get a debug log file explaining the errors. See below.(Write what you thought would happen.) Normally, my SCSS files compile and the watcher is running in my theme.
Actual Behavior
Steps to Reproduce
inside theme, run npx wpgulp
edit wpgulp.config
npm start
node -v
: 11.0.0npm -v
: 6.4.1yarn --version
(if you use Yarn):Then, specify:
Possible Solution
Reproducible Demo
Not applicable. Simply doesn't compile. I've blown away the node_modules and reinstalled several times on 2 different local sites. Same results every time.