Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG] npm run build 打包失败 #115

Open
821125083 opened this issue Jan 15, 2025 · 0 comments
Open

🐛[BUG] npm run build 打包失败 #115

821125083 opened this issue Jan 15, 2025 · 0 comments

Comments

@821125083
Copy link

821125083 commented Jan 15, 2025

🐛 bug 描述

npm run build 的时候失败,报错
"BoxSelect" is not exported by "node_modules/.pnpm/[email protected][email protected]/node_modules/lucide-react/dist/esm/lucide-react.js"
看起来是 lucide-react.js 最新版本中删除了 BoxSelect 改成了 BoxSelectIcon
lucide-icons/lucide#2733

翻看 package.json 发现确实是用了最新的 lucide-react.js 版本

Image

📷 复现步骤

npm run build 即可复现

Image

🏞 期望结果

重新打包成功即可

💻 复现代码

© 版本信息

  • pro-flow-editor 版本: latest
  • 浏览器环境
  • 开发环境 [windows,node 20.1.0]

🚑 其他信息

@821125083 821125083 changed the title 🐛[BUG] 🐛[BUG] npm run build 打包失败 Jan 15, 2025
SUSTYuxiao added a commit to SUSTYuxiao/pro-flow that referenced this issue Jan 17, 2025
🐛 fix:  BoxSelect  has been delete by lucide-react(ant-design#115)
SUSTYuxiao added a commit to SUSTYuxiao/pro-flow that referenced this issue Jan 17, 2025
ModestFun pushed a commit that referenced this issue Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant