Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install elm locally if missing #1

Open
francisdb opened this issue Oct 7, 2016 · 0 comments
Open

Install elm locally if missing #1

francisdb opened this issue Oct 7, 2016 · 0 comments

Comments

@francisdb
Copy link
Contributor

Just pushed my code and this came out of our CI

java.io.IOException: Cannot run program "elm-make": error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
    at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:128)
    at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159)
    at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159)
    at sbt.elm.SbtElm$$anon$1.buffer(SbtElm.scala:190)
    at sbt.AbstractProcessBuilder.runBuffered(ProcessImpl.scala:159)
    at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:156)
    at sbt.elm.SbtElm$.doCompile(SbtElm.scala:178)
    at sbt.elm.SbtElm$$anonfun$6$$anonfun$8.apply(SbtElm.scala:127)
    at sbt.elm.SbtElm$$anonfun$6$$anonfun$8.apply(SbtElm.scala:119)
...

Would be nice if the plugin could optionally install elm like the other web plugins can have their dependencies. This would probably require an elm webjar?
An other solution for us would be calling npm install elm and using the binaries from the node_modules folder. But then of course you need npm installed (moving the problem to the next dependency)

By the way you should probably set up travis and see how you can fix it there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant