KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

(Mix) Cannot use application name "elixir" because it is already used #3459

Open Hu1buerger opened 9 months ago

Hu1buerger commented 9 months ago

System

Plugin Version: 16.0.0 Application: IntelliJ IDEA Ultimate Edition (2023.2.2) Operating System: Mac OS X (14.1)

Event

Exception

Stacktrace

java.io.IOException: mix new failed: ** (Mix) Cannot use application name "elixir" because it is already used by Erlang/OTP or Elixir. The application name is inferred from the path, if you'd like to explicitly name the application then use the "--app APP" option ``` java.io.IOException: mix new failed: ** (Mix) Cannot use application name "elixir" because it is already used by Erlang/OTP or Elixir. The application name is inferred from the path, if you'd like to explicitly name the application then use the "--app APP" option at org.elixir_lang.new_project_wizard.Step.setupProject(Step.kt:172) at com.intellij.ide.wizard.AbstractNewProjectWizardMultiStepBase.setupProject(AbstractNewProjectWizardMultiStepBase.kt:75) at com.intellij.ide.wizard.NewProjectWizardLanguageStep.setupProject(NewProjectWizardLanguageStep.kt:93) at com.intellij.ide.wizard.NewProjectWizardChainStep.setupProject(NewProjectWizardChainStep.kt:44) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$commitModule$1.invoke(AbstractNewProjectWizardBuilder.kt:44) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$commitModule$1.invoke(AbstractNewProjectWizardBuilder.kt:43) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$Companion.detectCreatedModule(AbstractNewProjectWizardBuilder.kt:80) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$Companion.detectCreatedModule(AbstractNewProjectWizardBuilder.kt:68) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$Companion.access$detectCreatedModule(AbstractNewProjectWizardBuilder.kt:65) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder.commitModule(AbstractNewProjectWizardBuilder.kt:43) ```
allenwyma commented 9 months ago

this shouldn't be an issue of the plugin: it's an issue of the naming. For an elixir/mix application, there's already an application called elixir, so you'll need to choose another name