Wix studio dynamic page. Bugs when running code on dynamic pages

I’m having to reload the page or close everything down then reopen so the console log will actually run and have my dynamic page change to the data that’s inputted. And another time a ghost type error that i have fixed will keep intermittently keep returning even though it would work fine seconds before.

is there a fix for this as it’s not coding error because it would work fine, and without applying any changes through a previously fixed type error again. i reload, then its just the fact the console log wont run and then a few more reloads and its fine again.

Bugs when running code on dynamic pages.

Where is the code?