Qwik + Builer.io Section/page Models with repeaters - Maximum call stack size exceeded Error
Describe the bug When using the latest version of qwik-sdk for builder I can not add a repeated element to a page/section etc. the site crashes with "Maximum call stack size exceeded" error. See screen shots
To Reproduce Steps to reproduce the behavior:
- Create a minimal qwik app connected to builder .IO
- Update to latest dependencies "@builder.io/dev-tools": "^1.0.2", "@builder.io/qwik": "^1.5.1", "@builder.io/qwik-city": "^1.5.1", "@builder.io/qwik-react": "^0.5.4", "@builder.io/sdk-qwik": "^0.14.12",
- In builder create a model with a repeater field, and add some content
- On a page add the repeater to the page and try to bind a text box to a repeated field.
- You may need to refresh the preview to see the error - sometimes it appears on the server console. sometimes in the browser
I'm not sure if it helps but I think it's to do with isolated-vm and can confirm the issue is introduced in version 0.7.1. of the @builder.io/sdk-qwik and as far as I can tell doesn't get sorted in subsequent releases that address other isolated-vm issues.
Here is a minimal repo: https://github.com/rockitweb/Qwik-MinimalRepo builder.io public API: bfc4fbf784f249e0a2dcad11efc57bd0
Expected behavior For it to work :)
Screenshots
Additional context
I think it's to do with isolated-vm?
I've tried following the instructions here , by adding NODE_OPTIONS=--no-node-snapshot to the .env file. This resulted in a vite segmentation fault.
Here's info about the OS I develop on