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

fix(npm): 更新npm的package.json路径,调整npm默认下载源为淘宝源 #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kongfu-cat
Copy link

更新npm的package.json路径

npm仓库变更,调整package.json请求路径为https://raw.githubusercontent.com/npm/cli/latest/package.json

调整npm默认下载源为淘宝源

测试发现

  • 请求github中的releases时,curl.New(),返回-4,得到的是一个空文件
  • 但是使用淘宝时正常

因为不是很了解Go,所以就简单将默认下载源的改为淘宝源,来避免报错

issue #25

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

Successfully merging this pull request may close these issues.

1 participant