A very unsatisfying answer but worked. After finding this, I tried creating a new project and just transferred my source code and assets to the new one and it worked. Oh, and I guess the important part, I opted out of SSR during generation.