Removing the coroutines dependency was the solution in my case. But if Ktor doesn't leak the kotlinx-coroutines dependency, then you'll have to get the specific version of the coroutines dependency your Ktor version is using.
t
Tech
06/15/2024, 6:15 PM
Yeah actually originally kotlinx coroutines wasn't in my project so I think it was leaked by something else, the codebase is undergoing a big rewrite and literally just a bit ago is when I fixed all the errors and finally tried running for the first time & it just broke
Tech
06/15/2024, 8:31 PM
I found the dependency leaking kotlinx and removed it, fixed it