Open codeyash opened 1 month ago
I solved by moving my code from routeLoader$(index/route) to Task$ inside component.
I still consider it as bug in routeLoader$ which failed to collect all required fn for final build.
Right this seems to be an issue with the optimizer. Can you please try reproducing in https://qwik.dev/playground? It should also be failing there, since it does production builds.
I am also getting this error when building:
Cannot resolve symbol s_p321FqRPspM in {
'6X0KberS7Oc': [ 's_6X0KberS7Oc', 'q-DttXmm6U.js' ],
QeHqHqnbSiY: [ 's_QeHqHqnbSiY', 'q-AKokdM7B.js' ],
agzGBGehytw: [ 's_agzGBGehytw', 'q-DvDAJ766.js' ],
...
} undefined
worker error: Error: Code(31) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L39
@lbensaad that's a different issue and it's likely solved in the upcoming 1.9.1 release
@wmertens when v 1.9.1 will be released?
The issue still there in v 1.9.1, is there a way to fix it.
@lbensaad Can you make a minimal reproduction?
The issue has disappeared now, thank you @wmertens.
Which component is affected?
Qwik Optimizer
Describe the bug
This code works perfectly in Dev mode but failing in Prod mode. Tried all types of middlewares like express, Deno etc
Reproduction
Above info should be enough
Steps to reproduce
Bun Dev: works perfectly
Bun Preview : As soon this runs and tried to visit the relevant page which use above store, whole server crashes. Without even calling
process_text
server crashes. Full crash log https://pastebin.com/TNCsRpDWSystem Info
Additional Information
How to debug in prod is missing on docs. I have to debug line by line to find what's the problem. Crash logs are not helpful.