Open sweetyams opened 4 years ago
Thanks @sweetyams for the issue report.
This error is caused by the @wordpress/scripts package.
Could you confirm that you have at least node
10.0.0 or later, and npm
6.9.0 or later as this package can't work with lower versions ?
node
and npm
versions can be checked using those two commands :
$ node -v
$ npm -v
I had the same issue, but I was using node's default version in Ubuntu 18.04 (version 8.x, can't remember exactly now).
Using nvm I managed to upgrade to node v12.18.1, and that solved the problem.
Every time I try npm install I get the following error:
Thanks!