TypeError: moment.tz is not a function

I got a sudden error. When I was writing code in client script, after reloading my ‘client script’ list completely disappeared, there wasn’t any list left. I checked the same thing in the server script. Along with that, all the lists in the doctypes are completely unable to load. When I checked the web console, there was an error message: “TypeError: moment.tz is not a function”