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]: panic in resolver with empty specifier for when path has ! at the end #5579

Closed
Tracked by #4327
Boshen opened this issue Feb 2, 2024 · 3 comments
Closed
Tracked by #4327
Assignees
Labels
bug Something isn't working team The issue/pr is created by the member of Rspack.

Comments

@Boshen
Copy link
Contributor

Boshen commented Feb 2, 2024

System Info

None

Details

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  index out of bounds: the len is 0 but the index is 0
Location: /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/oxc_resolver-1.2.2/src/lib.rs:245

There is a ! at the end of specifier.

export { default } from "./reexport.loader.js!";

Reproduce link

No response

Reproduce Steps

webpack-test/configCases/performance/many-async-imports

@Boshen Boshen added the bug Something isn't working label Feb 2, 2024
@h-a-n-a
Copy link
Collaborator

h-a-n-a commented Feb 2, 2024

Related #5393

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Feb 2, 2024
@Boshen Boshen changed the title [Bug]: panic in resolver with empty specifier [Bug]: panic in resolver with empty specifier for when path has ! at the end Feb 2, 2024
Copy link

stale bot commented Apr 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@stale stale bot added the stale label Apr 2, 2024
@SyMind
Copy link
Member

SyMind commented Apr 2, 2024

Fix in #5832, maybe the issue can close.

@stale stale bot removed the stale label Apr 2, 2024
@Boshen Boshen closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

No branches or pull requests

3 participants