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
But in any case, please avoid opening new node-sass
issues on this repo because we cannot help much.
In cmd, npm config set msvs_version 20xx
with xx matching your locally installed version of Visual Studio.