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]: persistent cache: lazyCompilation not work #8905

Closed
dxhsmwqcwelllee opened this issue Dec 31, 2024 · 2 comments · Fixed by #8952
Closed

[Bug]: persistent cache: lazyCompilation not work #8905

dxhsmwqcwelllee opened this issue Dec 31, 2024 · 2 comments · Fixed by #8952
Assignees
Labels
bug Something isn't working need reproduction

Comments

@dxhsmwqcwelllee
Copy link

System Info

System:
OS: macOS 15.1.1
CPU: (10) arm64 Apple M4
Memory: 4.75 GB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.5 - ~/.local/state/fnm_multishells/87061_1735193181778/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.8.2 - ~/.local/state/fnm_multishells/87061_1735193181778/bin/npm
pnpm: 7.33.6 - ~/.yarn/bin/pnpm
Browsers:
Chrome: 131.0.6778.205
Edge: 131.0.2903.112
Safari: 18.1.1
npmPackages:
@rspack/cli: 1.2.0-alpha.0 => 1.2.0-alpha.0
@rspack/core: 1.2.0-alpha.0 => 1.2.0-alpha.0

Details

config

Image

error

Image Image

Reproduce link

No response

Reproduce Steps

  1. Configuration persistent cache and lazyCompilation and then �run, it is OK
  2. The second run, lazyCompilation will not work
@dxhsmwqcwelllee dxhsmwqcwelllee added bug Something isn't working pending triage The issue/PR is currently untouched. labels Dec 31, 2024
@chenjiahan chenjiahan removed the pending triage The issue/PR is currently untouched. label Dec 31, 2024
@jerrykingxyz jerrykingxyz self-assigned this Jan 2, 2025
Copy link
Contributor

github-actions bot commented Jan 6, 2025

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

@dxhsmwqcwelllee
Copy link
Author

https://github.com/dxhsmwqcwelllee/rspack-issue/tree/main

  1. firsrt run "yarn dev", it is ok
  2. second run "yarn dev"
  3. the "HelloWorld.vue" load error
Image

@jerrykingxyz

@jerrykingxyz jerrykingxyz linked a pull request Jan 7, 2025 that will close this issue
2 tasks
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants