问题场景
verdaccio搭建本地npm私库后,上传包到私库报错:
http <-- 503, user: xx, req: ‘PUT /helloworld’, error: one of the uplinks is down, refuse to publish
解决办法
在verdaccio启动的配置文件config.yaml加上配置:
publish:
allow_offline: true
1
2
重启verdaccio后再publish,刷新页面,上传成功
参考:https://blog.csdn.net/qq_36279799/article/details/111212404
标签:npm,refuse,uplinks,publish,verdaccio,报错,上传 From: https://www.cnblogs.com/renyang/p/17219625.html