Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jxxcarlson/024724704390623efa7d93daa736b7bd to your computer and use it in GitHub Desktop.
Save jxxcarlson/024724704390623efa7d93daa736b7bd to your computer and use it in GitHub Desktop.
Lamdera error message on deploy of chattest
emote: It appears you're all set to deploy v32 of 'chattest'.
remote:
remote: There are no Evergreen type changes for this version.
remote: [============================================ ] - 16 / 18-- TYPE MISMATCH --------------------------------- src/Evergreen/Migrate/V31.elm
remote:
remote: Something is off with the body of the `frontendModel` definition:
remote:
remote: 23|> ModelMigrated
remote: 24|> ( { key = old.key
remote: 25|> , userId = ""
remote: 26|> , userName = ""
remote: 27|> , worldId = ""
remote: 28|> , playgroundModel = initPlaygroundModel initMemory
remote: 29|> , collisionObjects = Collision.Extra.naiveObjectsEmpty
remote: 30|> , systemMessage = ""
remote: 31|> , registrationModel = initRegistrationModel
remote: 32|> , debounce = Debounce.init
remote: 33|> }
remote: 34|> , Cmd.none
remote: 35|> )
remote:
remote: This `ModelMigrated` call produces:
remote:
remote: ModelMigration
remote: { collisionObjects : Types.CollisionObjects
remote: , debounce : Debounce.Debounce (Maybe New.Character)
remote: , key : Browser.Navigation.Key
remote: , playgroundModel : New.PlaygroundModel New.Memory
remote: , registrationModel : New.RegistrationModel
remote: , systemMessage : String
remote: , userId : String
remote: , userName : String
remote: , worldId : String
remote: }
remote: New.FrontendMsg
remote:
remote: But the type annotation on `frontendModel` says it should be:
remote:
remote: ModelMigration New.FrontendModel New.FrontendMsg
remote: Detected errors in 1 module.
To apps.lamdera.com:chattest.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@apps.lamdera.com:chattest.git'
lamdera: readCreateProcess: git "push" "lamdera" "master" (exit 1): failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment