WPGulp: Error running `npx wpgulp` (Windows)
Hello,
I have been trying to get past the first step, but running npx wpgulp
(on Windows) just results in a barrage of errors for me.
(I am more than happy to pay for the time to provide support / or cover the cost of an hour’s maintenance).
Please find the first screenshot of running the command, followed by two screenshots of errors:
You can see various versions, of npx, node and npm below:
I’ve also attached below the error log from \AppData\Local\npm-cache\_logs
:
2022-04-19T07_45_20_081Z-debug-0.log
I would very much appreciate some guidance.
Thanks again and kindest regards, Elliott
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15
Hopefully someone finds this helpful in the feature… I believe the issue is being caused by node-sass. I followed the recommendations from @WiseArts. But thought I would break it down more fully for those like me!
I hope this helps someone.
Try using
nvm
, and node14.15.3
(Or whatever the best version is there.) Works for me!I have the same errors, well… smilar, but even more. I’ve uninstalled all node modules, deleted all .json files and started fresh so:
Bur nothing good is happening apart of errors and lot of deprecated packages warnings, is this tool still a good way to go in 2022 for WordPress development? I was using @wordpress/scripts before to bundle my files and all was working fine. Anyone have solved this? Below is my full error log showing all commands starting from clean slate: