BuilderIO/builder

@builder.io/sdk-qwik 0.16.13: Error when serving Azure SWA

k-schneider opened this issue · 1 comments

Describe the bug
I attempted to upgrade the SDK from 0.16.11 to 0.16.13 and encountered an error when the application is served (either locally or in Azure).

GET http://127.0.0.1:7071/api/render (proxy)
[api] [2024-10-09T20:24:11.783Z] Executing 'Functions.render' (Reason='This function was programmatically called via the host APIs.', Id=e164c13d-00e1-4954-b1d5-f228dcce1eb1)
[api] [2024-10-09T20:24:11.949Z] Cannot resolve symbol s_lMhJU8mIpnI in {
[api] [2024-10-09T20:24:11.950Z]   '07kvMccJXBQ': [ 's_07kvMccJXBQ', 'q-4p2hslDW.js' ],
[api] [2024-10-09T20:24:11.950Z]   '3nX5MbrBNWM': [ 's_3nX5MbrBNWM', 'q-BLBYAFko.js' ],
[api] [2024-10-09T20:24:11.950Z]   EWIT9ENzUX0: [ 's_EWIT9ENzUX0', 'q-CQX7rK0K.js' ],
...
[api] [2024-10-09T20:24:11.959Z] serializeQRL: Cannot resolve symbol s_lMhJU8mIpnI in null undefined
[api] [2024-10-09T20:24:11.959Z] QWIK ERROR Code(31) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L39 s_lMhJU8mIpnI Error: Code(31) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L39
...

Reverting to 0.16.11 fixes this and the application runs as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Have an app with the Azure SWA adapter
  2. Ensure SDK is version 0.16.13
  3. npm run build
  4. npm run serve

Expected behavior
Should serve the app.