rspack icon indicating copy to clipboard operation
rspack copied to clipboard

Duplicate root module name DynamicImport

Open huanglsj opened this issue 2 years ago • 8 comments

System Info

win10 node 16.18.1 @rspack/cli: ^0.2.8

Details

thread 'tokio-runtime-worker' panicked at 'Duplicate root module name DynamicImport(missing|D:\work\xxx\src\router//views/salary/monthlySalary/index)', crates\rspack_ids\src\stable_named_chunk_ids_plugin.rs:69:13 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

[webpack-dev-middleware] [Error: error[internal]: Duplicate root module name DynamicImport(missing|D:\work\xxx\src\router//views/salary/monthlySalary/index). Raw: This is not expected, please file an issue at https://github.com/web-infra-dev/rspack/issues. ] { code: 'GenericFailure' }

Reproduce link

No response

Reproduce Steps

npm run dev

huanglsj avatar Jul 25 '23 07:07 huanglsj

@huanglsj can you help try the nightly version and see whether it's fixed

hardfist avatar Aug 10 '23 06:08 hardfist

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

huanglsj avatar Aug 10 '23 06:08 huanglsj

I've met the same issue as well.

System Info

macOS 13.4
$ node -v 
v16.20.1
    "@rspack/cli": "^0.2.5",
    "@rspack/core": "^0.4.0"

Details

Rspack █████████████████████████░░░░░░░░░░░░░░░ 63% building                                        Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Rspack █████████████████████████░░░░░░░░░░░░░░░ 64% building ../../../_lib/buildMatchPatternFn/indexthread 'tokio-runtime-worker' panicked at 'Duplicate root module name DynamicImport(missing|/Users/xxxx/xxx/xxx/xxx/BatchManage)', crates/rspack_ids/src/stable_named_chunk_ids_plugin.rs:69:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
<e> [webpack-dev-middleware] [Error: error[internal]: Duplicate root module name DynamicImport(missing|/Users/xxx/xxx/xxx/xxx/BatchManage).
<e> Raw: 
<e> This is not expected, please file an issue at https://github.com/web-infra-dev/rspack/issues.
<e> 
<e> 
<e> ] {
<e>   code: 'GenericFailure'
<e> }
^C<i> 

@hardfist

tianxiang24 avatar Nov 28 '23 11:11 tianxiang24

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

huanglsj avatar Nov 28 '23 11:11 huanglsj

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[bot] avatar Jan 27 '24 12:01 stale[bot]

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

huanglsj avatar Jan 27 '24 12:01 huanglsj

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[bot] avatar Mar 27 '24 14:03 stale[bot]

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

huanglsj avatar Mar 27 '24 14:03 huanglsj

Close because no feedback. If you meet the same issue, please just reopen this issue and provide your repro.

LingyuCoder avatar Jul 19 '24 09:07 LingyuCoder

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

huanglsj avatar Jul 19 '24 09:07 huanglsj