Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to attach elm project #828

Open
ericwern opened this issue May 3, 2024 · 3 comments
Open

Failed to attach elm project #828

ericwern opened this issue May 3, 2024 · 3 comments
Labels

Comments

@ericwern
Copy link

ericwern commented May 3, 2024

What happened?

image

Ive tried with both 5.0.0 and the 5.0.1-beta1

Relevant log output or stack trace

No response

Steps to reproduce

attach elm.json to a new project

IntelliJ IDE details (should contain the Elm plugin version and OS details)

WebStorm 2024.1.2
Build #WS-241.15989.105, built on April 23, 2024
Runtime version: 17.0.10+1-b1207.14 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.4.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
dev.turingcomplete.intellijdevelopertoolsplugins (4.2.0)
intellij-elm (5.0.1-beta1)
com.gafner.giv (2024.1.14)
com.intellij.ml.llm (241.15989.156)
com.github.copilot (1.5.2.5345)

@ericwern ericwern added the bug label May 3, 2024
@BenjaminDebeerst
Copy link
Contributor

I can confirm / reproduce this behaviour for 5.0.0 and 5.0.1-beta1, although the latter actually has a fix for this problem: 3b06b0a.

When reproducing, I found that the Lamdera binary was configured as the literal string "null", which of course does not work in any case. Deleting the configured "null" entry for Lambdera fixed it for me. (Settings -> Languages and Framworks -> Elm)

@BenjaminDebeerst
Copy link
Contributor

It seems to be a funky way of how Intellij migrates forward existing configurations though, because I could not reproduce this issue with a vanilla configuration of Intellij.

@ElaadF
Copy link

ElaadF commented May 16, 2024

Thanks for the workaround @BenjaminDebeerst I was facing the same issue, I finally replace the parameter with /usr/local/bin/elm like mentionned here #809 (comment) and it works just fine.

Build #IC-241.14494.240, built on March 28, 2024
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.6.13+bpo-amd64
GC: G1 Young Generation, G1 Old Generation
Memory: 3848M
Cores: 12
Registry:
  ide.experimental.ui=true
  scala.erase.compiler.process.jdk.once=false
Non-Bundled Plugins:
  com.intellij.plugins.watcher (241.14494.150)
  intellij-elm (5.0.0)
  JettyRunner-GK (2.0.1)
  org.intellij.scala (2024.1.20)
Kotlin: 241.14494.240-IJ
Current Desktop: GNOME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants