WebGL exporting in unity 2021.2 stuck infinitely

I cannot build any file in WebGL in unity 2021.2. It is stuck in this scene for hours.

I have tried changing many building settings, but not working. Even the sample scene also cannot be build.

You may wanna take a look into editor log file (%LOCALAPPDATA%\Unity\Editor\Editor.log), which might help in understanding what’s the last action performed or why it’s stuck.