-
-
Notifications
You must be signed in to change notification settings - Fork 595
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 occurred at runtime. with v 0.5.2 on Windows #5592
Comments
Hello @pushkargupta9807, 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 |
cc @Boshen this panic raises from oxc_resolver, do you have any clue? |
I'll get it fixed. |
Thanks @Boshen |
@pushkargupta9807 can you help me a bit by posting your |
@Boshen there are many places where path.resolve is used. As a matter of fact I discovered the one loader using which hits this issue. It is the following loader :
And the way it is resolved is :
I also tried to hard code the relative path for that loader as below, but it didnt help:
|
Since the issue was labeled with |
System Info
Windows, rspack v 0.5.2
Details
Hello, I ran into the below issue when running the rspack serve command to start an application on a windows machine. However I do not run into this issue on a Mac device.
Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: internal error: entered unreachable code
Location: C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\oxc_resolver-1.2.2\src\path.rs:69
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
● ━━━━━━━━━━━━━━━━━━━━━━━━━ (60%) building builtin:swc-loader??ruleSet[1].rules[13].use[0]!D:\source\cd━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: napi_register_module_v1
at
2: napi_register_module_v1
at
3: napi_register_module_v1
at
4: napi_register_module_v1
at
● ━━━━━━━━━━━━━━━━━━━━━━━━━ (60%)
Reproduce link
No response
Reproduce Steps
N/A
The text was updated successfully, but these errors were encountered: