web-dev-qa-db-fra.com

Pas une commande valide: idea-Shell (similaire: Shell, oldshell)

J'ai du mal à actualiser mon projet SBT dans Intellij. Et je ne suis pas le seul.

Voici la console sbt:

/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/Java -agentlib:jdwp=transport=dt_socket,address=localhost:51917,suspend=n,server=y -Xdebug -server -Xmx1028M -Dfile.encoding=UTF-8 -Didea.runid=2017.2 -Didea.managed=true -jar "/Users/Pascal.mengelt/Library/Application Support/IntelliJIdea2018.1/Scala/launcher/sbt-launch.jar" idea-Shell
Listening for transport dt_socket at address: 51917
[info] Loading settings from idea.sbt ...
[info] Loading global plugins from /Users/user/.sbt/1.0/plugins
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/Pascal.mengelt/GitHub/scala/scala-adapters-wizard/project
[info] Loading settings from build.sbt ...
[info] Set current project to wizardDemo (in build file:/Users/Pascal.mengelt/GitHub/scala/scala-adapters-wizard/)
[error] Not a valid command: idea-Shell (similar: Shell, oldshell)
[error] Not a valid project ID: idea-Shell
[error] Expected ':'
[error] Not a valid key: idea-Shell (similar: daemonShell)
[error] idea-Shell
[error]           ^
[INFO] [04/13/2018 13:13:19.377] [Thread-2] [CoordinatedShutdown(akka://sbt-web)] Starting coordinated shutdown from JVM shutdown hook
18
pme

J'ai trouvé le problème Intellij pour cela (avec solution de contournement):

SCL-12430 Pas une clé valide: idea-Shell

Oui, supprimez le ~/.sbt/{0.13|1.0}/plugins/target

Voici la commande fournie par Mateusz Kubuszok:

rm -rf ~/.sbt/{0.13,1.0}/plugins/target
34
pme