[Solved] NPM Error: gyp verb which failed Error:not found: python2

To find the stackoverflow solution, set the npm environment variable

$ npm set SKIP_SASS_BINARY_DOWNLOAD_FOR_CI = true
$ npm set SKIP_NODE_SASS_TESTS = true
Then use the command to clear the cache and reinstall sass-loader

$ npm cache clean –force
$ npm install sass-loader –dev-save

Similar Posts: