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]: v0.7.0-beta.1 dynamic import error. #6590

Closed
1yasa opened this issue May 21, 2024 · 5 comments · Fixed by #6595
Closed

[Bug]: v0.7.0-beta.1 dynamic import error. #6590

1yasa opened this issue May 21, 2024 · 5 comments · Fixed by #6595
Labels
bug Something isn't working need reproduction pending triage The issue/PR is currently untouched.

Comments

@1yasa
Copy link

1yasa commented May 21, 2024

System Info

System:
OS: macOS 14.4
CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900KF
Memory: 10.78 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.6.1 - /usr/local/bin/node
npm: 10.2.4 - /usr/local/bin/npm
pnpm: 9.0.4 - /usr/local/bin/pnpm
Watchman: 2024.05.06.00 - /usr/local/bin/watchman

Details

截屏2024-05-21 16 00 55

v0.6.5 => v0.7.0-beta.1 ,disable lazyCompilation, dynamic import show above error.

Reproduce link

No response

Reproduce Steps

above.

@1yasa 1yasa added bug Something isn't working pending triage The issue/PR is currently untouched. labels May 21, 2024
@ahabhgk
Copy link
Collaborator

ahabhgk commented May 21, 2024

Could you provide a reproduce? I tried to reproduce with the image you provided but didn't see the error

Copy link
Contributor

Hello @1yasa, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.

@1yasa
Copy link
Author

1yasa commented May 21, 2024

Could you provide a reproduce? I tried to reproduce with the image you provided but didn't see the error

I guess this bug is cause by path(@/locales/dayjs/${lang} => './en'), I will submit repro later.

@ahabhgk
Copy link
Collaborator

ahabhgk commented May 21, 2024

I successfully reproduced in my local, will fix it soon

@ahabhgk
Copy link
Collaborator

ahabhgk commented May 22, 2024

Thanks for reporting, the fix will release in v0.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need reproduction pending triage The issue/PR is currently untouched.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants