Closed AshtonKem closed 8 years ago
Hi @AshtonKem, thanks for the report.
The cljsbuild
version shouldn't matter. Can you provide an example repository or at least a project.clj
?
Here's the minimal project.clj that still reproduced the error:
(defproject foo/my-sample-project "0.1"
:dependencies [[org.clojure/clojure "1.7.0"]
;; Om + Cljs
[org.clojure/clojurescript "1.7.170"]
[org.omcljs/om "1.0.0-alpha22" ]
[figwheel-sidecar "0.5.0-SNAPSHOT"]]
:cljsbuild {:builds [{:id "test"
:source-paths ["src-cljs" "test-cljs"]
:compiler {:main foo.run-tests
:optimizations :none}}]}
:profiles {:dev {:plugins [[lein-doo "0.1.6"]
[lein-cljsbuild "1.1.2"]]}})
The compiler options are missing an :output-to
. I'll add an assert to improve the error message in case that happens.
Excellent, thank you!
Running lein-do 0.1.6 and lein-cljsbuild 1.1.2 nets the following error:
I'm running on OSX with Phantomjs 2.0.0 Installed.