Verdaccio私库publish报错one of the uplinks is down, refuse to publish

1,177 阅读1分钟

在公司内网服务器上用Verdaccio搭建了npm私服,在执行npm publish时,报错如下: image.png 解决办法:

在verdaccio/config.yaml中设置允许离线发布

image.png

重启verdaccio,然后再次npm publish,就好了