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

bin-mirrors-prefix未生效 #80

Closed
iamazy opened this issue Aug 6, 2020 · 1 comment
Closed

bin-mirrors-prefix未生效 #80

iamazy opened this issue Aug 6, 2020 · 1 comment

Comments

@iamazy
Copy link

iamazy commented Aug 6, 2020

你好!
我执行

npm install -g mirror-config-china --unsafe-perm=true --allow-root --registry=http://registry.m.xx.com --bin-mirrors-prefix=http://storage.xx.local/mirrors

但是在下载node-sass的时候还是从taobao的镜像仓库中下的,是为什么呢

@iamazy
Copy link
Author

iamazy commented Aug 6, 2020

我看代码里node-sass镜像地址好像是写死的,.npmrc文件里sass-binary-site的值还是taobao的地址,并没有被--bin-mirrors-prefix的值替代

@iamazy iamazy closed this as completed Aug 12, 2020
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