Search code examples
pythonnode.jsnode-sass

Node-Sass can't find python even if it is instaleld


So when I run npm install node-sass for an application, i get the following error: enter image description here Full log found here:

I have installed python and the path where it says it cant find python, it is installed. I even added the environment variables:

enter image description here

enter image description here


Solution

  • Try running this command before installing your module

    npm install --global --production windows-build-tools