在编译新前端项目时,遇到python3.11.7 no found
使用brew安装python 3
brew install python3
接着使用最新node版本安装node-gyp
npm config set strict-ssl false
npm config set cafile ""
npm cache clean --force
npm install --force
再切换16.20.2版本的npm install即下载依赖成功,不会报错了