Vercel 部署数据库版过程中报错 Can't resolve 'zipfile' in '/vercel/path0/node_modules/epub2' #6769
-
📦 部署环境Vercel 📦 部署模式服务端模式(lobe-chat-database 镜像) 📌 软件版本v1.68.9 💻 系统环境Windows 🌐 浏览器Chrome 🐛 问题描述![]() 📷 复现步骤No response 🚦 期望结果No response 📝 补充信息[09:24:17.971] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
@stevendong 来看看啥情况? |
Beta Was this translation helpful? Give feedback.
-
@stevendong Let’s see what’s going on? |
Beta Was this translation helpful? Give feedback.
-
epub2对应代码 |
Beta Was this translation helpful? Give feedback.
-
@stevendong 有没有方法可以让构建不报错的?比如装下 zipfile 到 devDeps ? |
Beta Was this translation helpful? Give feedback.
-
@stevendong Is there a way to make the build not report an error? For example, install zipfile to devDeps? |
Beta Was this translation helpful? Give feedback.
-
zipfile是个很老的库了,只支持到node6.x,安装构建都过不了,从epub2源码看就是不想再使用了,换成了更先进的adm-zip,所以安装它到devDeps不是个好办法。本质原因还是epub2库的问题,如果十分介意这个构建报错,可以在增加构建配置忽略这个包的构建报错提醒 |
Beta Was this translation helpful? Give feedback.
zipfile是个很老的库了,只支持到node6.x,安装构建都过不了,从epub2源码看就是不想再使用了,换成了更先进的adm-zip,所以安装它到devDeps不是个好办法。本质原因还是epub2库的问题,如果十分介意这个构建报错,可以在增加构建配置忽略这个包的构建报错提醒
PR
@arvinxx