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

Help with dependancies! #119

Open
mewhit opened this issue Aug 25, 2022 · 0 comments
Open

Help with dependancies! #119

mewhit opened this issue Aug 25, 2022 · 0 comments

Comments

@mewhit
Copy link

mewhit commented Aug 25, 2022

From new elm project. Just after the elm init

{
    "type": "application",
    "source-directories": [
        "src"
    ],
    "elm-version": "0.19.1",
    "dependencies": {
        "direct": {
            "elm/browser": "1.0.2",
            "elm/core": "1.0.5",
            "elm/html": "1.0.0"
        },
        "indirect": {
            "elm/json": "1.1.3",
            "elm/time": "1.0.0",
            "elm/url": "1.0.0",
            "elm/virtual-dom": "1.0.3"
        }
    },
    "test-dependencies": {
        "direct": {},
        "indirect": {}
    }
}

$ C:\dev\trading-chart-helper-v2\node_modules\.bin\elm install terezka/elm-charts
Here is my plan:

  Add:
    danhandrea/elm-time-extra    1.1.0
    debois/elm-dom               1.3.0
    elm/parser                   1.1.0
    elm/svg                      1.0.1
    justinmimbs/date             4.0.1
    justinmimbs/time-extra       1.1.1
    myrho/elm-round              1.0.4
    ryannhg/date-format          2.3.0
    terezka/elm-charts           3.0.0
    terezka/intervals            2.0.1

Would you like me to update your elm.json accordingly? [Y/n]: y
-- PROBLEM BUILDING DEPENDENCIES -----------------------------------------------

I ran into a compilation error when trying to build the following package:

    elm/svg 1.0.1

This probably means it has package constraints that are too wide. It may be
possible to tweak your elm.json to avoid the root problem as a stopgap. Head
over to https://elm-lang.org/community to get help figuring out how to take this
path!

Note: To help with the root problem, please report this to the package author
along with the following information:

    elm/core 1.0.5
    elm/html 1.0.0
    elm/json 1.1.3
    elm/virtual-dom 1.0.3

If you want to help out even more, try building the package locally. That should
give you much more specific information about why this package is failing to
build, which will in turn make it easier for the package author to fix it!

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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

1 participant