Skip to content

Instantly share code, notes, and snippets.

@oleg-py
Created April 19, 2019 06:22
Show Gist options
  • Save oleg-py/f67d536af95d8bf2726faa7982346d9c to your computer and use it in GitHub Desktop.
Save oleg-py/f67d536af95d8bf2726faa7982346d9c to your computer and use it in GitHub Desktop.
sbt-idea-plugin - can't run IJ
val pluginName = "catnip-intellij"
lazy val catnipIntellij = project.in(file("."))
.enablePlugins(SbtIdeaPlugin)
.settings(
name := pluginName,
ThisBuild / version := "0.1",
ThisBuild / scalaVersion := "2.12.8",
ThisBuild / ideaPluginName := pluginName,
ThisBuild / ideaBuild := "191.6707.31",
ideaExternalPlugins +=
IdeaPlugin.Id("Scala", "org.intellij.scala", Some("Nightly")),
)
lazy val catnipRunner =
createRunnerProject(catnipIntellij, "catnipRunner")
[info] Running com.intellij.idea.Main
Start Failed: Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.lang.RuntimeException: Could not find installation home path. Please reinstall the software.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:93)
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:72)
at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:409)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:17)
at com.intellij.idea.Main.main(Main.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sbt.Run.invokeMain(Run.scala:98)
at sbt.Run.run0(Run.scala:92)
at sbt.Run.execute$1(Run.scala:68)
at sbt.Run.$anonfun$run$4(Run.scala:80)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at sbt.util.InterfaceUtil$$anon$1.get(InterfaceUtil.scala:10)
at sbt.TrapExit$App.run(TrapExit.scala:253)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment