This happened to me recently. I found that this may be some third party dependencies of npm install, which need to be compiled on your machine (node-sass needs to be compiled with c++ before it can be used), or there may be problems in the download or compilation process.
Run rm -rf./node_modules
to delete node_modules folder
Run npm cache clean --force
to clean npm cache file
Then run npm install
to reinstall node modules or node-sass with npm install
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.