Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue项目报错 #8

Open
kongxiyi opened this issue Dec 27, 2021 · 1 comment
Open

vue项目报错 #8

kongxiyi opened this issue Dec 27, 2021 · 1 comment

Comments

@kongxiyi
Copy link

我贴个重要日志, 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
Copy link
Owner

gz-yami commented Dec 28, 2021

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

@gz-yami gz-yami closed this as completed Dec 28, 2021
@gz-yami gz-yami reopened this Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants