"To debug this code, open zpyv8.js in Developer Tools"-message keeps showing. How to find what's wrong?

I’ve just created an animated header that in preview mode seems to load just like I hoped it would, yet for some reasons the following messages keep showing:
“Loading the code for the site. To debug this code, open masterPage.js in Developer Tools.
Loading the code for the H O M E page. To debug this code, open zpyv8.js in Developer Tools.”

Does any of you have an idea why is that? Am I missing something?

Thank you in advance!

You don’t need those lines, you can simply delete them, all you would need is this…

$w.onReady(function () {
});

export function.....

As for using event handlers to make things happen for users on your website, then note that leave and enter are not workable.

It sounds like you are trying to use either onViewportEnter and onViewportLeave or onMouseIn and onMouseOut.

Also, you can do more with the effect options as shown here,

See here for working with user activity.

Finally, as for your a animated headers, look at Wix examples like here.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/fixed-frozen-header-example

Or you can do it inside the Wix Editor yourself now.
https://support.wix.com/en/article/changing-your-header-design

Also, there are some more examples from Nayeli (Code Queen) that you can look at too.
Floating Header: https://codequeen.wixsite.com/floating-header
Shrinking Header: https://codequeen.wixsite.com/new-shrinking-header
Animated Header: https://codequeen.wixsite.com/animated-header

Thank you for all the links you left me, GOS!
The lines I wrote are the ones showed by Code Queen in her youtube video ( https://www.youtube.com/watch?v=6zS0OavqbAc&t=358s ) where she explains how to create a Floating, Shrinking or Animated header. However, after checking out the Animated header link you left me it looks like according to Wix that code no longer works (“ WARNING Wix has reported a bug that affects most Frozen headers. They have not been able to advise why this new bug suddenly appeared. We have created a troubleshooting article to explain the bug and different options you have to fix it.”)
So now I’ve followed the instructions given by wix in this page ( https://www.wix.com/corvid/example/sticky-header ) and in their video ( https://www.youtube.com/watch?time_continue=189&v=7pIUxBnaOWA&feature=emb_title ).

In preview mode the header loads beautifully on every page of the website, just like it did when I used the lines showed by Code Queen in her video, but the developer console keeps showing the very same message it showed before (“Loading the code for the site. To debug this code, open masterPage.js in Developer Tools”).

What am I doing wrong? I’ve followed accurately every step showed in the video and checked every line… maybe my eyes are too tired and I’m not noticing some mistakes I made?