"Unresolved reference" everywhere
See original GitHub issueWhen opening elm source files, I get an Unresolved reference
error on every function.
I had a small existing elm 0.19
project. Elm is installed and all dependencies are installed and listed in elm.json
. Running elm make
or elm reactor
from the command line gives no errors.
- I went
File > New > Project from existing sources...
. Picked the directory containing myelm.json
- It gave me a message “no elm toolchain configured”. I entered the path of my elm binary
- It gave me a message “no elm.json”. I picked the right elm.json
- It didn’t give any more messages, but every reference in every src file is marked as unresolved (including builtins like
|>
and>>
) See the screen shot bleow.
Am I configuring something wrong? Or is this a bug? I’m on Windows with
elm version 0.19.0
npm version 6.1.0
intellij version:
IntelliJ IDEA 2017.2.6
Build #IU-172.4574.11, built on November 13, 2017
Licensed to Quinn Freedman
Subscription is active until August 25, 2019
For educational use only.
JRE: 1.8.0_152-release-915-b12 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
GoLand (JetBrains) shows error message "Unresolved ...
While writing the code, GoLand shows me an error message such as "unresolved reference" when the reference do exist and that the program ......
Read more >How to fix unresolved reference issue in Kotlin and Android ...
To conclude, the unresolved reference error happens when Kotlin has no idea what the keyword you're typing in the file points to. It...
Read more >Suddenly unresolved references everywhere but nothing ...
Suddenly unresolved references everywhere but nothing marked as an error. I've checked my recent changes but there's nothing suspicious.
Read more >Getting a `error: unresolved reference` with gradle-kotlin
Coding example for the question Getting a `error: unresolved reference` with gradle-kotlin.
Read more >Kotlin Native Unresolved Reference
I can't seem to figure out how to avoid unresolved references, ... code I see red everywhere, really could use a hand, what...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a shot of my now working external dependencies. I’m not sure why PHP is there though…
@rogererens wrote:
Yes, this is 100% the case. The IntelliJ plugin does not install any packages for you. All it does is read your
elm.json
file and expect that all dependencies can be found in the place that the Elm compiler wants them.I have some work planned in the future to improve error handling when attaching an
elm.json
file. Right now it just silently ignores any dependencies that should be installed but aren’t.