Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Incorrect error message when using incorrect version number #264

Open
That-David-Guy opened this issue Mar 16, 2017 · 3 comments
Open

Incorrect error message when using incorrect version number #264

That-David-Guy opened this issue Mar 16, 2017 · 3 comments

Comments

@That-David-Guy
Copy link

Apologies if this is not the right repo for this.

To Reproduce

  1. Put this in your elm-package:
{
    "version": "1.0.0",
    "summary": "helpful summary of your project, less than 80 characters",
    "repository": "https://github.com/user/project.git",
    "license": "",
    "source-directories": [
        "."
    ],
    "exposed-modules": [],
    "dependencies": {
        "NoRedInk/elm-decode-pipeline": "3.0.0 <= v < 4.0.0",
        "elm-community/list-extra": "6.0.0 <= v < 7.0.0",
        "elm-lang/core": "5.1.1 <= v < 6.0.0",
        "elm-lang/html": "2.0.0 <= v < 3.0.0",
        "elm-lang/http": "3.0.0 <= v < 4.0.0",
        "elm-lang/navigation": "2.1.0 <= v < 3.0.0",
        "evancz/url-parser": "2.0.1 <= v < 3.0.0"
    },
    "elm-version": "0.18.0 <= v < 0.19.0"
}
  1. Run elm-make

Output

Packages configured successfully!
Could not find package elm-lang/navigation.

Maybe your elm-stuff/ directory has been corrupted? You can usually fix stuff
like this by deleting elm-stuff/ and rebuilding your project.

Expected Output

No packages exist for `"elm-lang/http": "3.0.0 <= v < 4.0.0"`.
Did you mean an earlier version?

Notes

The error mentions navigation but the issue was http version was incorrect.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@sjfloat
Copy link

sjfloat commented Mar 25, 2017

I'm hitting this too. I get this message instructing me to delete my elm-stuff directory immediately after deleting it.

@sjfloat
Copy link

sjfloat commented Mar 25, 2017

Actually, I think this could be #253

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

No branches or pull requests

3 participants