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

下载该项目后执行npm install 报错 #2982

Closed
StrongerLph opened this issue Feb 13, 2020 · 1 comment
Closed

下载该项目后执行npm install 报错 #2982

StrongerLph opened this issue Feb 13, 2020 · 1 comment

Comments

@StrongerLph
Copy link

image

@StrongerLph
Copy link
Author

用这个方法解决了git config --global url."https://".insteadOf git://。然后又遇到了安装node-sass提示没有python环境的问题,找了半天找到这个方法解决了:

npm install --save node-sass --registry=https://registry.npm.taobao.org --disturl=https://npm.taobao.org/dist --sass-binary-site=http://npm.taobao.org/mirrors/node-sass

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

1 participant