wmakley
wmakley

Reputation: 1272

Elm 0.19: elm make "not enough bytes" error when compiling

I am suddenly receiving this error message when compiling my app:

elm make  src/App.elm --output ../assets/javascripts/elm/App.js
elm: not enough bytes
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary.hs:212:21 in binary-0.8.5.1:Data.Binary
make: *** [App.js] Error 1

Compiler bug?

Edit: The workaround is to delete elm-stuff. Then it will compile once, and have the same bug on the next attempt.

Upvotes: 9

Views: 658

Answers (1)

Kvn CF
Kvn CF

Reputation: 993

Upgrade your elm.json

Upgrade Elm version and generate new elm.json (make a backup first) Then install each package individually

Upvotes: 0

Related Questions