mdgriffith / elm-style-animation

The style animation library for Elm!
http://package.elm-lang.org/packages/mdgriffith/elm-style-animation/latest
BSD 3-Clause "New" or "Revised" License
440 stars 40 forks source link

Path morphing example not working #65

Open janwirth opened 6 years ago

janwirth commented 6 years ago

error in elm 0.19


                                                                     Success! Compiled 1 module.
elm: Map.!: given key is not an element in the map
CallStack (from HasCallStack):
  error, called at ./Data/Map/Internal.hs:610:17 in containers-0.5.11.0-K2TDqgYtGUcKxAY1UqVZ3R:Data.Map.Internal

Culprit

        , subscriptions = always Sub.none
            \model ->
                Animation.subscription
                    Animate
                    model.styles

Fixed: also removed message.

        , subscriptions = always Sub.none
            \model -> Sub.none

elm-package.json

{
    "type": "application",
    "source-directories": [
        "src"
    ],
    "elm-version": "0.19.0",
    "dependencies": {
        "direct": {
            "elm/browser": "1.0.0",
            "elm/core": "1.0.0",
            "elm/html": "1.0.0",
            "elm/svg": "1.0.1",
            "elm/time": "1.0.0",
            "mdgriffith/elm-style-animation": "4.0.0"
        },
        "indirect": {
            "elm/json": "1.0.0",
            "elm/url": "1.0.0",
            "elm/virtual-dom": "1.0.0"
        }
    },
    "test-dependencies": {
        "direct": {
            "elm-explorations/test": "1.0.0"
        },
        "indirect": {
            "elm/random": "1.0.0"
        }
    }
}
haderman commented 5 years ago

Hi, @FranzSkuffka I have the same problem, did you find a solution?