elm-server icon indicating copy to clipboard operation
elm-server copied to clipboard

Can't find `elm-make`

Open tfga opened this issue 8 years ago • 0 comments

Hi,

Here's what I get in the console:

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn /usr/local/lib/node_modules/elm-server/node_modules/elm/Elm-Platform/0.17.1/.cabal-sandbox/bin/elm-make ENOENT
    at exports._errnoException (util.js:860:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:450:9)
    at process._tickCallback (node.js:364:17)
    at Function.Module.runMain (module.js:459:11)
    at startup (node.js:136:18)
    at node.js:972:3

I have elm-make in $PATH:

$ which elm-make
/usr/local/bin/elm-make

There's also another one in

/usr/local/lib/node_modules/elm-server/node_modules/elm/binwrappers/elm-make

But the path elm-server is trying to run doesn't exist.

tfga avatar Oct 24 '16 22:10 tfga