Closed fabiankaegy closed 4 months ago
Using node 16 results in a failure to build
Now using node v16.20.2 (npm v8.19.4)
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: stylelint-declaration-strict-value@1.10.4
npm ERR! notsup Not compatible with your version of node/npm: stylelint-declaration-strict-value@1.10.4
npm ERR! notsup Required: {"node":">=18.12.0"}
npm ERR! notsup Actual: {"npm":"8.19.4","node":"v16.20.2"}
Manually editing the file to version 18 resolves the issue
This was missed 2 years ago when the version in the
.nvmrc
file was changed https://github.com/10up/wp-scaffold/commit/b1cd51f7ca900df5afb50ea96d4d6e8e1faf7269