Skip to content
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

Qwik + Builer.io Section/page Models with repeaters - Maximum call stack size exceeded Error #3184

Open
rockitweb opened this issue Apr 9, 2024 · 0 comments
Assignees

Comments

@rockitweb
Copy link

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:

  1. Create a minimal qwik app connected to builder .IO
  2. 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",
  3. In builder create a model with a repeater field, and add some content
  4. On a page add the repeater to the page and try to bind a text box to a repeated field.
  5. 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
Screen Shot 2024-04-08 at 11 25 31 am

image

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
image

@rockitweb rockitweb changed the title Qwik + Builer.io Section Models with repeaters - Maximum call stack size exceeded Error Qwik + Builer.io Section/page Models with repeaters - Maximum call stack size exceeded Error Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants