Web does not work in preview mode while nothing has been changed

I am working on a project with AWS Web API. I almost finished it and tested my web page in preview mode last night and it worked well. However, this morning when I open the editor and test again in preview mode, the web page does not work properly.
I have the same issue yesterday and I fixed it by viewing the site history and restore the web to an old version(one day before) and pasted the same code. I believe I could fix this problem by restore the web again but I have to wrote pasted the code again and add the same web elements again.
When I checked the message in developer tools , there are some error messages like:


I am not sure which error leads to this problem. The web was loading correctly yesterday night and nothing has been changed. This is the second time I met this issue. I do not want to restore the web again. I just want to check a few output in preview mode so that I could finish this project.

Does anyone has an idea?

I restored my website this morning and it works for few hours. Right now the same issue appears again. I found that all my datasets icons in the webpage have a yellow exclamation mark on their top-right corner. I am so frustrated. I do not want to restore the website a third time and rebuild the elements again and again.
Anyone knows the reason for this issue?

I got the same issue again today. OMG
I found that whenever the chrome pop up the Aw, Snap!" page crashes error and I reopened the editor, the problem appears.