gz-yami / mall4j

⭐️⭐️⭐️ 电商商城 小程序电商商城系统 PC商城 H5商城 APP商城 Java商城 O2O商城 跨境商城
https://www.mall4j.com
GNU Affero General Public License v3.0
4.79k stars 1.29k forks source link

vue项目报错 #8

Open kongxiyi opened 2 years ago

kongxiyi commented 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
gz-yami commented 2 years ago

你用淘宝镜像来安装,先配置镜像地址npm config set registry https://registry.npmmirror.com 然后再用npm i 进行安装