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 · 2 comments
Open
Assignees

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电脑做开发么

@Nokecy
Copy link

Nokecy commented Dec 10, 2024

@sorrycc 同样的问题

@sorrycc sorrycc self-assigned this Dec 18, 2024
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

4 participants