I\'m getting this error when I try to run the command gulp watch-bs
for my UnderStrap child theme for WordPress. I\'ve been using this command for a year with no pr
I recently ran into the same problem after installing node. Similar to @Dv-Learner answer, What fixed it for me was:
npm install natives@1.1.6
npm rebuild node-sass
the bit about rebuild node-sass was required for my machine (Windows)
I also faced the same problem and then I fixed by the following command:
npm install natives@1.1.6
May be helpful if someone having same issue. updating node to latest version requires above package.
Had the same error. Solved it by installing graceful-fs.
It seems that natives package is now deprecatd and you should install graceful-fs instead.
I had node v10.16.1 and glup local version 3.9.1. I ran 'npm install graceful-fs' and glup no longer gave the error in this question. (Can't comment yet, so an answer).
I had the same error after upgrading node to v10.16.0
I ran the following which solved my issue:
rm -rf node_modules
rm package-lock.json
npm cache clean --force
npm install
After closer inspection, it would seem that the generated tree in package-lock was outdated.
I ran into the same issue as you. To fix it, I added the following to my package.json in the devDependencies section
"natives": "^1.1.6"
@Student 22, in addition to Lloyd's solution, I simply updated my version to the most recent version for gulp using the command below ( Local Version 3.9.1 to Local Version 4.0.0) and I didn't run any additional commands.
npm install gulp-update
Reference: https://github.com/nodejs/node/issues/24985
Good luck!