An error was reported when installing gulp sass today: checking for Python executable “python2” in the path
Try a lot of methods, and finally use cnpm to install it successfully
Specific methods:
1. Install cnpm
npm install cnpm -g –registry= https://registry.npm.taobao.org
2. Install gulp sass
The syntax is the same, just change NPM to cnpm
cnpm install –save-dev gulp-sass
It’s done
Similar Posts:
- The yarn node sass installation reported an error
- Node.js is upgraded from 12. X to 14. X. the original Vue project starts with an error
- Solutions to the problem that image webpack loader cannot be installed or the installation is stuck
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- How to Solve Error: Cannot find module ‘gulp-sass’
- [Solved] Vue create Create Project Error: command failed: npm install –loglevel error
- [Solved] NPM Awalys Error: unable to verify the first certificate
- Solutions to docker pull error reporting
- Module build failed: TypeError: this.getResolve is not a function at Object.loader node-sass Install Error
- NPM err installation dependency package error [How to Solve]