[Fixed] New IDE: Something went wrong rendering this part of the anvil editor

I’m getting a “Something went wrong rendering this part of the anvil editor” error on one of my forms. The error started appearing after I merged a feature branch into master, however going through the changes in the merge I can’t figure out what caused the editor to throw an error.

I’ve went through solutions for similar issues of other uses and already tried unselecting all custom roles components in toolbox, clearing cache and running it in a different browser. The classic version of the Anvil editor runs that Form fine.

When clicking on the ‘Retry’ button on the error page I get this in console:

service-worker?inIDE=1:1 
        
        
        Uncaught (in promise) TypeError: Failed to fetch
    at service-worker?inIDE=1:1:48656
    at Generator.next (<anonymous>)
    at r (service-worker?inIDE=1:1:47297)
    at a (service-worker?inIDE=1:1:47500)
    at service-worker?inIDE=1:1:47559
    at new Promise (<anonymous>)
    at service-worker?inIDE=1:1:47440
    at h (service-worker?inIDE=1:1:48324)
    at service-worker?inIDE=1:1:49727
    at Generator.next (<anonymous>)

Otherwise I don’t see any suspect error messages, even when clicking on to a working Form and back to the broken one.

1 Like

That might be the error - but it’s not obvious.

Are you able to share a clone link.
Or also share the App id, with instructions to reproduce, and we’ll take a look

1 Like

Stu looked into our app and turns out the error in this case was caused by a component that didn’t have a name.

2 Likes