Hello all,

I'm having trouble getting clojurescript to compile with
lein-cljsbuild on heroku.  It works locally through foreman and runs
fine on heroku other than the cljs compilation issue.

I've tried a few things.  First of all, heroku doesn't put
:dev-dependencies on the classpath by default[1].  When I enable
LEIN_DEV, the :dev-dependencies are downloaded, but the app times out
while booting[2].  If I try moving lein-cljsbuild from :dev-depencies
to :plugins in my project.clj, heroku rejects my git push[3].

Anyone faring any better?

Thanks,
Tim


[1]   app[web.1]: Warning: problem requiring leiningen.cljsbuild hook:
Could not locate leiningen/cljsbuild__init.class or
leiningen/cljsbuild.clj on classpath


[2]   heroku config:add LEIN_DEV=y
       ...
       heroku[web.1]: Starting process with command `lein run -m tl.core`
       app[web.1]: Compiling ClojureScript.
       ... (downloads lots of dependencies. can't finish before timing out?) ...
       heroku[web.1]: Error R10 (Boot timeout) -> Web process failed
to bind to $PORT within 60 seconds of launch


[3]   heroku config:remove LEIN_DEV
       ...
       Copying 4 files to /tmp/build_c47l93hhsxf4/.lein-plugins
       exec: 1: -client: not found
 !     Failed to install dependencies with Leiningen
 !     Heroku push rejected, failed to compile Clojure app
 ! [remote rejected] sessions -> master (pre-receive hook declined)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to