Unity freezes during webgl build even after reinstall

How do I reset a project? I have a webgl project that will not build anymore.
I threw out everything but the assets and project settings.
I have tried two different versions of unity, reinstalled unity also.
It happened after I was messing around with the project settings for stacktrace and others.

It freezes during the build and there is no information in the editor log.

It is stuck at copy files…ppOUtput/build/GameAssembly.bc

I found a suggestion to throw out projectsettings.assert in the project settings folder and also make the build folder out of the project folder and that seemed to work. Very buggy.