-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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] dockerfile部署Type error: Cannot find module '@lobehub/ui/es/LogoThree' or its corresponding type declarations. #4952
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
The error you're encountering indicates that the module
If these steps do not resolve the issue, you may need to look into the specific implementation details of the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
vercel也遇到了 |
vercel also encountered |
升级到最新的版本 |
Upgrade to the latest version |
This issue is closed, If you have any questions, you can comment and reply. |
📦 部署环境
Docker
📌 软件版本
1.36.5
💻 系统环境
Other Linux
🌐 浏览器
Chrome
🐛 问题描述
使用dockerfile部署提示下面错误,已经加了--no-cache
450.1 ./src/components/Branding/WelcomeLogo/LobeChat.tsx:7:40
450.1 Type error: Cannot find module '@lobehub/ui/es/LogoThree' or its corresponding type declarations.
450.1
450.1 5 | import { Center } from 'react-layout-kit';
450.1 6 |
450.1 > 7 | const LogoThree = dynamic(() => import('@lobehub/ui/es/LogoThree'), { ssr: false });
450.1 | ^
450.1 8 | const LogoSpline = dynamic(() => import('@lobehub/ui/es/LogoThree/LogoSpline'), { ssr: false });
450.1 9 |
450.1 10 | const WelcomeLogo = memo<{ mobile?: boolean }>(({ mobile }) => {
📷 复现步骤
docker build -t lobechat --build-arg USE_CN_MIRROR=true --no-cache .
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: