Same issue. I’m working with KotlinJVM:
e: Kotlin home does not exist or is not a directory:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> Compilation error. See log for more details
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
1 actionable task: 1 executed
Few miniutes ago it’s fine. I didn’t change anything and it raises this error now.