Search code examples
elmelm-makeelm-0.18

elm-make: elm-package.json: openBinaryFile: does not exist


  • I do a fresh installation: npm i elm@0.18 -g
  • I try to build using: elm-make ./src/scripts/MainModule.elm
  • I get:

elm-make: elm-package.json: openBinaryFile: does not exist (No such file or directory)

But the elm-package.json file is right there in the directory where elm-make is called from.

Thoughts?

Note: I'm using nvm, in case it matters.


Solution

  • The problem was that package authors were updating packages to support elm .19 by changing elm-package.json to elm.json but not bumping up major versions of their packages.