Could not find installation home path. Please make sure product-info.json is present in the installation directory.
The error message is:
Internal error
java.lang.RuntimeException: Could not find installation home path. Please make sure product-info.json is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:112)
at com.intellij.openapi.application.PathManager.getBinDirectories(PathManager.java:150)
at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:689)
at com.intellij.idea.Main.mainImpl(Main.kt:65)
at com.intellij.idea.Main.main(Main.kt:47)
I changed the error message in: https://github.com/JetBrains/intellij-community/commit/0784ebb9052f136fc02b10e033ab5525d2611779
The issue is caused by https://github.com/JetBrains/intellij-community/commit/70afc86a2730f37989dae2c4ee8f2538e9fa6328
I open this issue so no duplicate issues are opened while I prepare an MR to fix this.