Node.js: Python not found exception due to node-sass and node-gyp

so this happened to me on windows recently. I fix it by following the following steps using a PowerShell with admin privileges:

  1. delete node_modulesfolder
  2. running npm install --global windows-build-tools with administrative privilege. (in my case need restart – and restart without ask!!!)
  3. reinstalling node modules or node-sass with npm install

Leave a Comment