为什么我在向Heroku部署clojurescript 0.0-2665应用程序时出错,但不在本地?

时间:2015-01-14 14:57:07

标签: heroku clojurescript

网络应用在我的本地环境中完美运行。但是当部署到Heroku时,它会因此错误而失败:

Compiling "resources/public/js/main.js" failed. clojure.lang.ExceptionInfo: failed compiling file:src/cljs/common/talks.cljs {:file #} at clojure.core$ex_info.invoke(core.clj:4403)
...
Caused by: clojure.lang.ExceptionInfo: No such namespace: pts.common at line 1 src/cljs/common/talks.cljs {:tag :cljs/analysis-error, :file "src/cljs/common/talks.cljs", :line 1, :column 1}
... 
Uberjar aborting because jar failed: Subprocess failed ! Failed to build.
! Push rejected, failed to compile Clojure (Leiningen 2)

pts.common包含几个clojurescript模块,并且引用在版本0.0-2511下解析,尽管编译有时会生成警告但仍然会成功并运行。

0 个答案:

没有答案