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

Erroneously requires indirect dependencies specified for packages during watch #512

Closed
emilgoldsmith opened this issue Jun 7, 2021 · 3 comments

Comments

@emilgoldsmith
Copy link

Hi!

So I'm building a package that depends on elm/html, and as far as I understand and I can see other packages doing I'm not supposed to specify indirect dependencies.

However if I use elm-test watch it works fine at first (and also without watch), but then it seems to fail for example when I change an export but I also think similar things with changing anything surrounding imports with the following error:

-- MISSING DEPENDENCIES ----------------------------------------------- elm.json

Your elm.json is missing some "indirect" dependencies:

    "elm/virtual-dom": "1.0.2"

This usually means you are editing elm.json by hand. It is much more reliable to
use the elm install command instead.

I'm assuming it's when I trigger some kind of dependency check.

If there's a relatively simple solution I'd be happy to help implementing it

@lydell
Copy link
Collaborator

lydell commented Jun 7, 2021

Hi! I tried to reproduce your issue: https://github.com/lydell/elm-test-pkg-test

I didn’t get any errors, though. Is there something I’m missing?

@emilgoldsmith
Copy link
Author

emilgoldsmith commented Jun 7, 2021 via email

@emilgoldsmith
Copy link
Author

Hmm now I can't reproduce it either.... Weird!

If I encounter it again I'll try nailing down the cause a bit better, but I guess for now I'll close this issue, until we can understand it better

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

No branches or pull requests

2 participants