Please look thru your error log for the string gyp info using node-gyp@
and if that version number is less than the current release of node-gyp then please upgrade using these instructions and then try your command again.
Please be aware that the package node-sass
is deprecated so you should actively seek alternatives. You can try:
npm uninstall node-sass
npm install sass --save
# or ...
npm install --global node-sass@latest
node-sass
projects may work by downgrading to Node.js v14 but that release is end-of-life.
In any case, please avoid opening new node-sass
issues on this repo because we cannot help much.
Support in the abi_crosswalk.json
file ends at Node.js v17 but that release is end-of-life.
In any case, please avoid opening new node-pre-gyp
issues on this repo because we cannot help much.
Unsupported WORKAROUND for versions of Node.js > v17
npm ci # mapbox/node-pre-gyp
npm run update-crosswalk
# npm audit # Currently fails on a `Severity: critical` issue