lobehub/lobe-ui

[Bug] 组件库文档打包失败

git-Renpingjun opened this issue · 3 comments

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

执行命令npm run docs:build文档打包时失败,控制台信息如下:

> dumi build

info  - dumi v2.2.17
info  - Umi v4.3.11

load typescript lib fail! Error: 加载失败: (0)[https://unpkg.com/lib/lib.esnext.d.ts [".d.ts",".ts",".tsx","/index.d.ts","/index.ts","/index.tsx","",".js",".jsx","/index.js","/index.jsx"]]

image

🚦 期望结果 | Expected Behavior

打包成功

📷 复现步骤 | Recurrence Steps

本地跑起来后执行打包命令:npm run docs:build

📝 补充信息 | Additional Information

No response

👀 @git-Renpingjun
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

尝试用 pnpm 安装依赖