verdaccio迁移成功后但之前的组件未显示

将verdaccio从本地迁移到Docker部署,虽然服务和配置已迁移成功,但访问时页面空白。通过研究资料发现,verdaccio 4.0.0以前的数据库文件是.sinopia-db.json。在新版本中为.verdaccio-db.json。找到旧的.sinopia-db.json文件并上传到新服务器的storage目录,重启服务后,页面显示恢复正常,迁移完成。
摘要由CSDN通过智能技术生成

verdaccio版本5.1.0

迁移使用教程

Verdaccio 使用 Docker 安装及迁移教程_xionghnly的博客-程序员秘密 - 程序员秘密

之前使用node直接部署verdaccio服务,后迁移至docker部署,相关组件包和配置文件均已迁移成功,但是访问服务时页面显示空白。

查找资料

基于verdaccio 的私有npm仓库迁移_AviorAlong的博客-CSDN博客_verdaccio迁移

以及官网描述

The default database file location is in the storage location. The default database file location is in the storage location. Starting with version 4.0.0, the database file name will be .verdaccio-db.json for a new installation of Verdaccio. When upgrading an existing Verdaccio server, the file name will remain .sinopia-db.json. When upgrading an existing Verdaccio server,

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值