-
-
Notifications
You must be signed in to change notification settings - Fork 500
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. Message: content should be available #5938
Comments
I was not able to reproduce this panic locally. Here's what I get:
|
@h-a-n-a I dont see errors like on your case, do you use ubuntu? |
@h-a-n-a can you also make Because this export is defined in |
@krutoo please provide the public version of @sima-land/isomorph has no exports related to node-handler |
@xc2 Folder "./tgz" in repo (sorry for wrong path in package.json, repo now is updated) please also use |
just tried ubuntu 20.04(x86_64) and debian bookworm(arm64) with no luck to reproduce. weird |
Hmmm, i fully remove node_modules and reinstall it and it works, soory for taking your time |
@xc2 @h-a-n-a i found that it was my stashed code try this branch please ( |
thanks @krutoo it reproduces. it is caused by code below import( /* webpackIgnore: true */ `bun:jsc`) swc will transform it into there're two approach to avoid:
#5775 this issue will also help |
@xc2 thanks a lot but why string literal change the behavior? |
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! |
bump |
This was fixed in DefinePlugin refactor. |
System Info
Details
Thoughs
Maybe this is because package (
@sima-land/isomorph
) uses exports fieldReproduce link
https://github.com/krutoo/isomorph-bun-vs-node
Reproduce Steps
npm install
npm run dev
The text was updated successfully, but these errors were encountered: