hassox / phoenix_elm

14 stars 1 forks source link

/bin/sh: elm-stdio: command not found #1

Open mchavezi opened 8 years ago

mchavezi commented 8 years ago

Cool project.

Followed steps for install and got

/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
 76% create chunk assets/bin/sh: elm-stdio: command not found
 90% optimize assets/bin/sh: elm-stdio: command not found
 95% emit/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
Hash: 7f99b73d58a78e6e2144
Version: webpack 1.12.14
Time: 1122ms
             Asset       Size  Chunks             Chunk Names
         js/app.js     327 kB       0  [emitted]  main
       css/app.css    10.5 kB       0  [emitted]  main
       favicon.ico    1.26 kB          [emitted]  
        robots.txt  202 bytes          [emitted]  
     images/bg.png    2.13 kB          [emitted]  
images/phoenix.png    13.9 kB          [emitted]  
   [0] multi main 40 bytes {0} [built]
    + 5 hidden modules
Child extract-text-webpack-plugin:
        + 2 hidden modules
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found
/bin/sh: elm-stdio: command not found

My which node outputs /usr/local/bin/node. I think that is the issue, because it conflicts with what is stated here or is it something else?

Cheers

hassox commented 8 years ago

@bigbassroller You're probably right. The point where this is relevant is: https://github.com/hassox/phoenix_elm/blob/master/lib/phoenix_elm/elm_io.ex#L2

We're just assuming that elm-stdio is on your path when it starts. If you change that to match where to locate it in your path does that help?