[英]how to add registry in npm install for scope package
I want to run npm insatll with registry but with scope for example @test:registry=url 我想使用注册表运行npm insatll,但使用范围,例如@test:registry = url
I tried 我试过了
npm install --registry @test url
npm install --registry@test url
but it didn't work 但这没用
It is working for me, you can run npm --registry http://url 它对我有用 ,您可以运行npm --registry http:// url
or Verify that your registry is set correctly by npm config get registry 或通过npm config验证注册表是否正确设置了注册表
if not run 如果不运行
npm config set registry http://url npm config设置注册表http:// url
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.