-
-
Notifications
You must be signed in to change notification settings - Fork 595
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 without backtrace #6433
Comments
Message: content should be available |
// case 1 typicall happens on migrating from other builders
import "virtual:uno.css"
// case 2 and 3
import * as NodeFS from "node:fs" // target: "web"
import * as BunFS from "bun:fs" // target: "web" Thanks for your contributing. You can check whether your source code or dependencies meet the above cases. close this first and traking it in #6290 |
@SoonIter I have not a single colon in any of my imports and I get That does not look like what is happening in #6290. Did you reproduce my case and see that this is the exact same issue? Because I'm still in the dark on what is happening and I cannot resolve this. I have to go back to webpack now. So please re-open this |
I have some more information I found after continuing my updates (using webpack in the meantime): The error occurs with While this solves my build, you should probably still investigate into why your bundler crashes without a stack trace. |
Sorry for the rude close. I debug this issue more carefully. This error message reason is related to the wrong parsing of the module url. just a semicolon /* 2.8.8 */
@font-face {
font-family: 'Step';
src: url(data:application/x-font-ttf;charset=utf-8;;base64,AAEAAAAOAIAAAwBgT1MvMj3hSQEAAADsAAAAVmNtYXDQEhm3AAABRAAAAUpjdnQgBkn/=)
format('truetype'),
url(data:application/font-woff;base64,d09GRgABAAAAAAqgABAAAAAAEXwAAQ=)
format('woff');
}
/* 2.9.0 */
@font-face {
font-family: 'Step';
src: url(data:application/font-woff;base64,d09GRgABAAAAAAqgABAAAAAAEXwAAQ=)
format('woff');
} This error message has been optimized and aligned with webpack in #6404. So far, I think this issue will be solved in the upcoming version, so I decided to close it again. If there are any problems, please feel free to reopen it :D |
System Info
System:
OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
Memory: 13.92 GB / 15.59 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.5.1 - /usr/bin/node
npm: 9.8.0 - /usr/bin/npm
pnpm: 9.0.6 - /usr/bin/pnpm
Details
I'm trying to migrate a slightly older project to rsbuild, but the process panics and does not give any further details on what is wrong:
DEBUG=rsbuild rsbuild dev
The repository is public: https://github.com/uncaught/doko/tree/d25849ea4d30630b8e7080eee81bbd715e2fc5de/packages/client
Tried on WSL (Windows 11), but also on a Ubuntu 22 server with the same result.
Reproduce link
https://github.com/uncaught/doko/tree/d25849ea4d30630b8e7080eee81bbd715e2fc5de/packages/client
Reproduce Steps
The text was updated successfully, but these errors were encountered: