Open kongxiyi opened 2 years ago
我贴个重要日志, node-sass安装失败。百度说是要py3的支持?
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! cwd C:\Users\yikong\Desktop\mall4v-master\node_modules\node-sass gyp ERR! node -v v14.15.4 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! node-sass@4.12.0 postinstall: `node scripts/build.js` npm ERR! Exit status 1
你用淘宝镜像来安装,先配置镜像地址npm config set registry https://registry.npmmirror.com 然后再用npm i 进行安装
npm config set registry https://registry.npmmirror.com
npm i
我贴个重要日志, node-sass安装失败。百度说是要py3的支持?