CodePudding user response:
Looks like issue with Python.
Can you run below and check if it helps,
npm install express
Else, try below
delete node_modulesfolder
run npm install --global windows-build-tools with administrative privilege.
reinstal node modules or node-sass with npm install
CodePudding user response:
The error happened when running node-gyp
during installation of node-sass
as you can see in the error. Also mentioned in the error log, you most likely do not have Python installed.
Try running node-gyp rebuild
.
If that fails, it means it is not setup correctly. Follow node-gyp
documentation to setup your environment correctly, then re-run npm install
.
Also, take a look at node-sass
supported Node version.