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]: doesn't render anything when using lazyCompilation #7578

Open
JounQin opened this issue Aug 14, 2024 · 7 comments
Open

[Bug]: doesn't render anything when using lazyCompilation #7578

JounQin opened this issue Aug 14, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@JounQin
Copy link

JounQin commented Aug 14, 2024

System Info

System:
OS: macOS 14.5
CPU: (10) arm64 Apple M1 Max
Memory: 10.52 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.4 - ~/.local/state/fnm_multishells/68940_1723172287866/bin/node
Yarn: 3.8.1 - ~/.local/state/fnm_multishells/68940_1723172287866/bin/yarn
npm: 10.7.0 - ~/.local/state/fnm_multishells/68940_1723172287866/bin/npm
bun: 1.1.24 - /opt/homebrew/bin/bun
Browsers:
Chrome: 127.0.6533.120
Safari: 17.5

Details

image image

Reproduce link

https://github.com/backstage/backstage/pull/25953/files#diff-de40b39bd698be14c4aeaf0dcd1632014902ef074c355630cce0809205e15c2dR428

Reproduce Steps

git clone https://github.com/JounQin/backstage.git
git checkout feat/rspack
yarn install

Remove !useRspack && at

https://github.com/JounQin/backstage/blob/551abf6d55e3b62f24375ef48ee7ea4d7cb791af/packages/cli/src/lib/bundler/config.ts#L428

Then run yarn dev

@JounQin JounQin added bug Something isn't working pending triage The issue/PR is currently untouched. labels Aug 14, 2024
@JSerFeng JSerFeng self-assigned this Aug 14, 2024
@JSerFeng
Copy link
Collaborator

JSerFeng commented Aug 19, 2024

Is this expected ?
image

@JounQin
Copy link
Author

JounQin commented Aug 21, 2024

@JSerFeng Yes! Is there a version for testing?

@JSerFeng
Copy link
Collaborator

I guess you are using custom client entry ?

If disable lazy compilation for entries, it works, Im still investigating it

image

@jerrykingxyz jerrykingxyz removed the pending triage The issue/PR is currently untouched. label Sep 2, 2024
@JounQin
Copy link
Author

JounQin commented Oct 12, 2024

Image

I tried {entries: false} but it seems does not work as expected still.

Copy link

stale bot commented Dec 11, 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 Dec 11, 2024
@JounQin
Copy link
Author

JounQin commented Dec 11, 2024

nope

@stale stale bot removed the stale label Dec 11, 2024
@JSerFeng
Copy link
Collaborator

Sorry I almost forget this 🥲, I'll see if I can repro later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants