Skip to content

[Bug]: Cannot get final name for export 'render' #10419

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

Open
bamf2077 opened this issue May 20, 2025 · 1 comment
Open

[Bug]: Cannot get final name for export 'render' #10419

bamf2077 opened this issue May 20, 2025 · 1 comment

Comments

@bamf2077
Copy link

System Info

System:
  OS: Windows 11 10.0.26100
  CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
  Memory: 17.49 GB / 31.90 GB
Binaries:
  Node: 23.11.0 - C:\Program Files\nodejs\node.EXE
  npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
  pnpm: 10.11.0 - C:\Program Files\nodejs\pnpm.CMD
  bun: 1.2.13 - ~\.bun\bin\bun.EXE
Browsers:
  Edge: Chromium (133.0.3065.69)

Details

With @rsbuild/[email protected], enabling buildCache option was worked fine, but when I run the build command after updating to 1.3.20, it succeeds the first time and keeps failing thereafter. Turning off this option brings it back to normal.

rsbuild.config.ts:

export default defineConfig({
  performance: {
    buildCache: true
  }
})
$ RUST_BACKTRACE=full pnpm build


> rsbuild build

  Rsbuild v1.3.20

info    Rspack persistent cache enabled (experimental)
● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (83%) sealing chunk ids                                                                                                                                                    Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  Cannot get final name for export 'render'
Location: crates\rspack_core\src\concatenated_module.rs:2206

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 1: napi_register_module_v1
    at <unknown source file>
 2: napi_register_module_v1
    at <unknown source file>
 3: napi_register_module_v1
    at <unknown source file>
 4: napi_register_module_v1
    at <unknown source file>
 5: wasmer_vm_f64_nearest
    at <unknown source file>
 6: napi_register_module_v1
    at <unknown source file>
 7: napi_register_module_v1
    at <unknown source file>
 8: napi_register_module_v1
    at <unknown source file>
 9: napi_register_module_v1
    at <unknown source file>
10: napi_register_module_v1
    at <unknown source file>
11: napi_register_module_v1
    at <unknown source file>
12: napi_register_module_v1
    at <unknown source file>
13: napi_register_module_v1
    at <unknown source file>
14: napi_register_module_v1
    at <unknown source file>
15: napi_register_module_v1
    at <unknown source file>
16: napi_register_module_v1
    at <unknown source file>
17: BaseThreadInitThunk
    at <unknown source file>
18: RtlUserThreadStart
    at <unknown source file>
 ELIFECYCLE  Command failed with exit code 1.

Reproduce link

No response

Reproduce Steps

  1. Run rsbuild build with buildCache enabled
  2. Rsbuild failed with messages
Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  Cannot get final name for export 'render'
Location: crates\rspack_core\src\concatenated_module.rs:2206
@bamf2077 bamf2077 added the pending triage The issue/PR is currently untouched. label May 20, 2025
@LingyuCoder LingyuCoder added need reproduction and removed pending triage The issue/PR is currently untouched. labels May 23, 2025
Copy link
Contributor

Hello @bamf2077, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants