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

Clojurescript/Figwheel #5

Open
spacepluk opened this issue Sep 7, 2015 · 4 comments
Open

Clojurescript/Figwheel #5

spacepluk opened this issue Sep 7, 2015 · 4 comments

Comments

@spacepluk
Copy link

Has anybody managed to get this working with clojurescript/figwheel? I have fireplace working nicely with figwheel but I don't get the complete highlighting for some reason. Any idea?

@spacepluk
Copy link
Author

I did some more testing, and I noticed that by default there's only an autocmd for *.clj files. But if I enable the plugin manually it works for cljc files but it fails with this error on all the cljs files I've tried:

CompilerException java.lang.RuntimeException: Unable to resolve symbol: symbol in this context, compiling:(/tmp/form-init1591707341409564367.clj:1:1)
;; Content of /tmp/form-init1591707341409564367.clj
(.deleteOnExit (java.io.File. "/tmp/form-init1591707341409564367.clj")) (do (set! *warn-on-reflection* nil) (require (quote cljsbuild.crossover) (quote cljsbuild.util) (quote figwheel-sidecar.repl)) (try (do (clojure.core/letfn [(copy-crossovers__11310__auto__ [] (cljsbuild.crossover/copy-crossovers "/home/spacepluk/workspace/tvmetrix/tvmetrix-sdk/target/cljsbuild-crossover" (quote [])))] (clojure.core/when (clojure.core/not-empty (quote [])) (copy-crossovers__11310__auto__) (cljsbuild.util/once-every-bg 1000 "copying crossovers" copy-crossovers__11310__auto__)) (figwheel-sidecar.repl/run-autobuilder {:figwheel-options {:http-server-root "public", :unique-id "tvmetrix--0.1.0-SNAPSHOT", :nrepl-port 7888, :open-file-command "/home/spacepluk/bin/nvim-open", :resource-paths ["/home/spacepluk/workspace/tvmetrix/tvmetrix-sdk/dev-resources" "/home/spacepluk/workspace/tvmetrix/tvmetrix-sdk/resources"]}, :all-builds [{:id "dev", :source-paths ["src" "support/figwheel"], :parsed-notify-command {:shell []}, :build-options {:output-to "js/tvmetrix.js", :output-dir "js/out/debug", :target :nodejs, :hashbang false, :optimizations :none, :pretty-print true, :source-map "js/tvmetrix.js.map"}} {:id "min", :source-paths ["src"], :parsed-notify-command {:shell []}, :build-options {:output-to "js/tvmetrix.js", :output-dir "js/out/min", :target :nodejs, :hashbang false, :optimizations :advanced, :pretty-print false, :source-map "js/tvmetrix.js.map"}}], :build-ids []})) (java.lang.System/exit 0)) (catch cljsbuild.test.TestsFailedException e__11308__auto__ (java.lang.System/exit 1)) (catch java.lang.Exception e__11308__auto__ (do (.printStackTrace e__11308__auto__) (java.lang.System/exit 1)))))

Any idea?

@waterlink
Copy link

I'm affected by the same problem, unfortunately.

@KarlHarnois
Copy link

Same issue here. Would love to see this work for cljs

@nashio
Copy link

nashio commented Jan 22, 2017

+1 for cljs support

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

4 participants