JavaScript not working after I deploy?

Try moving the files around a little bit (shuffle them around into different folders; copy their contents, delete the file, and then make a new file of the same exact name and paste the contents back.

The reason I’m suggesting the above is because that happened to me on a non-deployed website. For some reason my CSS file wasn’t being recognized by anything. So I just deleted it and pasted it back a few times and it eventually got it.

Also see below (not exactly your case, but it’s generally kinda close to what I’m explaining):

However, the second one is a generic error for if you don’t have a custom page icon and it’s trying to look for it. (That one is completely harmless and doesn’t affect any of your code.)

2 Likes