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

使用umi/max,在window环境下, import 动态引入会导致错误 #1693

Open
PikachuGits opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@PikachuGits
Copy link

系统环境: win11
node : v20.12.0
"@umijs/max": "^4.3.34",

开发动态路由时
const element = component ? LazyLoadable(React.lazy(() => import(@/${component}))):undefined;
会导致 ╭─[src?context&glob=**/*&async:9:1]
image

有没有解决方案

@yang7229693
Copy link

我这边也遇到过,相同的项目,mac下没问题,windows下面就报这个错误,不理解这么明显的问题为啥不修复,阿里的都不使用Windows电脑做开发么

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

2 participants