question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't find references to elm-explorations/test when source-directories is ["."]

See original GitHub issue

All the imports from elm-explorations/test are marked as unresolved reference ''.

Might it be because of the elm-explorations/test is under test-dependencies in elm.json?

External Libraries does have it:

image

Plugin version 2.0.1

Anyhow - thank you so much for the plugin and taking time to develop it further!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mickeyvipcommented, Nov 19, 2018

Hi.

Just updated the plugin with the RC.

  • new project from Excercism (where sources are in the root and source-directories is [ "." ]) - OK
  • changing source-directories from [ "." ] to [".", "src"] - OK
  • changing source-directories from to ["src"], shows errors only for the file located in the root in tests and for the Elm dependencies in the file located in the root - seems to be OK: image

image

  • moving the file located in the root to the src folder, while source-directories is set to ["src"] - OK
  • changing source-directories from [ "." ] to [".", "src"] after the last step - OK
  • creating a new file in the root after the last step, so we have 1 file in the root and another in the src folder - OK

So I would say it is working great.

Thank you!

P.S. I love the new “exposed” icon! image

1reaction
mickeyvipcommented, Nov 10, 2018

Thanks!

That’s what I am doing

  • create a src folder
  • copy the main file there
  • update source-directories to [ "src" ]
Read more comments on GitHub >

github_iconTop Results From Across the Web

vscode-elm - Bountysource
I can access elm-format globally and have no problem running it from VSCode's terminal but when I try to use it on save...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found