User's intent: get Bytes-in-ports working in their Elm (not Lamdera) app
Steps to reproduce:
elm init
- make
src/Main.elm be a port module and contain a Bytes port (eg. port onConnectSuccessful : (Bytes -> msg) -> Sub msg), used in subscriptions.
lamdera make src/Main.elm
Expected: a nice error message about lamdera/core and lamdera/codecs missing in elm.json
Actual: a Map.! crash in here (something related to Wire decoders IIRC)
User's intent: get
Bytes-in-ports working in their Elm (not Lamdera) appSteps to reproduce:
elm initsrc/Main.elmbe a port module and contain a Bytes port (eg.port onConnectSuccessful : (Bytes -> msg) -> Sub msg), used insubscriptions.lamdera make src/Main.elmExpected: a nice error message about
lamdera/coreandlamdera/codecsmissing inelm.jsonActual: a
Map.!crash in here (something related to Wire decoders IIRC)