Can't build WebGL (atleast on Unity 2022.3.36f1)

I tried to make a build in WebGL, but it claimed the module wasn’t installed. Which is weird, because I’ve made webgl builds for this project before, and I’m pretty sure it’s still the same Unity version.
So I installed the WebGL module, then restarted Unity, but it still claimed it was missing the module.
Even after restarting my pc it still claims the module isn’t installed, even though it is.

Does anyone know how to fix this?

Do you have this label after installing the module?

Try to install the latest 2022.3.49 version instead with this module.

Yes, I do have that label.
I feel like something got messed up in the modules or something, is there a way to reinstal a module?

Edit: I’m installing that version now, I hope that fixes it.
(Though I want to make it clear that it used to work in the version I had, so it seems like something got messed up in there)