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.
There are a couple of workarounds (https://koffi.dev or node-ffi-rs
) on that issue but using ffi-napi
or its forks has proven problematic on modern versions of operating systems, Node.js, node-gyp, and Python.
In any case, please avoid opening new ffi-napi
issues on this repo because we cannot help much.