Last active
August 29, 2015 14:17
-
-
Save cichli/f31a6fa2d84238cca897 to your computer and use it in GitHub Desktop.
piggieback 0.2.0-SNAPSHOT + upstream deps issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject new-piggieback-test "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.6.0"] | |
[org.clojure/clojurescript "0.0-3148"] | |
[com.cemerick/piggieback "0.2.0-SNAPSHOT"] | |
[cljsjs/react "0.13.1-0"]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns new-piggieback-test.core | |
(:require [cemerick.piggieback :as piggieback] | |
[cljs.closure :as closure] | |
[cljs.repl :as repl] | |
[cljs.repl.node :as node])) | |
(closure/build "src" | |
{:main 'new-piggieback-test.core | |
:output-to "out/main.js" | |
:verbose true}) | |
(defn repl [] | |
(repl/repl (node/repl-env) | |
:watch "src" | |
:output-dir "out")) | |
(defn piggieback-repl [] | |
(piggieback/cljs-repl (node/repl-env) | |
:watch "src" | |
:output-dir "out")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns new-piggieback-test.core | |
(:require [cljs.nodejs :as nodejs])) | |
(nodejs/enable-util-print!) | |
(defn -main [& args] | |
(println "Hello world!")) | |
(set! *main-cli-fn* -main) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Michaels-MacBook-Pro:new-piggieback-test griffithsm$ lein repl | |
nREPL server started on port 52652 on host 127.0.0.1 - nrepl://127.0.0.1:52652 | |
REPL-y 0.3.5, nREPL 0.2.6 | |
Clojure 1.6.0 | |
Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13 | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
Source: (source function-name-here) | |
Javadoc: (javadoc java-object-or-class-here) | |
Exit: Control+D or (exit) or (quit) | |
Results: Stored in vars *1, *2, *3, an exception in *e | |
user=> (require 'new-piggieback-test.core) | |
Reading analysis cache for jar:file:/Users/griffithsm/.m2/repository/org/clojure/clojurescript/0.0-3148/clojurescript-0.0-3148.jar!/cljs/core.cljs | |
Compiling src/new_piggieback_test/core.cljs | |
Analyzing jar:file:/Users/griffithsm/.m2/repository/org/clojure/clojurescript/0.0-3148/clojurescript-0.0-3148.jar!/cljs/nodejs.cljs | |
Compiling out/cljs/nodejs.cljs | |
Compiling out/cljs/core.cljs | |
Using cached cljs.core out/cljs/core.cljs | |
nil | |
user=> (new-piggieback-test.core/repl) | |
ClojureScript Node.js REPL server listening on 56064 | |
Watch compilation log available at: out/watch.log | |
To quit, type: :cljs/quit | |
ClojureScript:cljs.user> (require 'cljsjs.react) | |
nil | |
ClojureScript:cljs.user> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Michaels-MacBook-Pro:new-piggieback-test griffithsm$ lein repl | |
nREPL server started on port 52705 on host 127.0.0.1 - nrepl://127.0.0.1:52705 | |
REPL-y 0.3.5, nREPL 0.2.6 | |
Clojure 1.6.0 | |
Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13 | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
Source: (source function-name-here) | |
Javadoc: (javadoc java-object-or-class-here) | |
Exit: Control+D or (exit) or (quit) | |
Results: Stored in vars *1, *2, *3, an exception in *e | |
user=> (require 'new-piggieback-test.core) | |
Reading analysis cache for jar:file:/Users/griffithsm/.m2/repository/org/clojure/clojurescript/0.0-3148/clojurescript-0.0-3148.jar!/cljs/core.cljs | |
Compiling src/new_piggieback_test/core.cljs | |
Analyzing jar:file:/Users/griffithsm/.m2/repository/org/clojure/clojurescript/0.0-3148/clojurescript-0.0-3148.jar!/cljs/nodejs.cljs | |
Compiling out/cljs/nodejs.cljs | |
Compiling out/cljs/core.cljs | |
Using cached cljs.core out/cljs/core.cljs | |
nil | |
user=> (new-piggieback-test.core/piggieback-repl) | |
ClojureScript Node.js REPL server listening on 51355 | |
To quit, type: :cljs/quit | |
nil | |
cljs.user=> (require 'cljsjs.react) | |
clojure.lang.ExceptionInfo: No such namespace: cljsjs.react, could not locate cljsjs/react.cljs at line 1 <cljs repl> {:tag :cljs/analysis-error, :file "<cljs repl>", :line 1, :column 1} | |
at clojure.core$ex_info.invoke(core.clj:4403) | |
at cljs.analyzer$error.invoke(analyzer.clj:379) | |
at cljs.analyzer$error.invoke(analyzer.clj:376) | |
at cljs.analyzer$analyze_deps.invoke(analyzer.clj:1251) | |
at cljs.analyzer$eval4147$fn__4149.invoke(analyzer.clj:1502) | |
at clojure.lang.MultiFn.invoke(MultiFn.java:249) | |
at cljs.analyzer$analyze_seq.invoke(analyzer.clj:1844) | |
at cljs.analyzer$analyze$fn__4383.invoke(analyzer.clj:1936) | |
at cljs.analyzer$analyze.invoke(analyzer.clj:1929) | |
at cljs.repl$evaluate_form.invoke(repl.clj:408) | |
at cljs.repl$fn__6422$self__6434.invoke(repl.clj:615) | |
at cljs.repl$repl_STAR_$read_eval_print__6484.invoke(repl.clj:778) | |
at cljs.repl$repl_STAR_$fn__6490$fn__6497.invoke(repl.clj:818) | |
at cljs.repl$repl_STAR_$fn__6490.invoke(repl.clj:817) | |
at cljs.compiler$with_core_cljs.invoke(compiler.clj:951) | |
at cljs.repl$repl_STAR_.invoke(repl.clj:782) | |
at cemerick.piggieback$run_cljs_repl.invoke(piggieback.clj:117) | |
at clojure.lang.AFn.applyToHelper(AFn.java:171) | |
at clojure.lang.AFn.applyTo(AFn.java:144) | |
at clojure.core$apply.invoke(core.clj:628) | |
at cemerick.piggieback$evaluate$run__6766.invoke(piggieback.clj:171) | |
at cemerick.piggieback$evaluate.invoke(piggieback.clj:174) | |
at clojure.lang.Var.invoke(Var.java:379) | |
at cemerick.piggieback$wrap_cljs_repl$fn__6786.invoke(piggieback.clj:210) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.stacktrace$wrap_stacktrace$fn__9948.invoke(stacktrace.clj:158) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.test$wrap_test$fn__10042.invoke(test.clj:203) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at clojure.tools.nrepl.middleware.session$session$fn__698.invoke(session.clj:192) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at refactor_nrepl.find_symbol$wrap_find_symbol$fn__14355.invoke(find_symbol.clj:184) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.classpath$wrap_classpath$fn__1246.invoke(classpath.clj:25) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at refactor_nrepl.find_unbound$wrap_find_unbound$fn__16128.invoke(find_unbound.clj:24) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.undef$wrap_undef$fn__10337.invoke(undef.clj:30) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.apropos$wrap_apropos$fn__1179.invoke(apropos.clj:102) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.format$wrap_format$fn__9065.invoke(format.clj:58) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.macroexpand$wrap_macroexpand$fn__9795.invoke(macroexpand.clj:84) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.resource$wrap_resource$fn__9882.invoke(resource.clj:25) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at refactor_nrepl.ns.clean_ns$wrap_clean_ns$fn__15873.invoke(clean_ns.clj:68) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at refactor_nrepl.ns.resolve_missing$wrap_resolve_missing$fn__16105.invoke(resolve_missing.clj:49) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at refactor_nrepl.artifacts$wrap_artifacts$fn__16649.invoke(artifacts.clj:125) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at cider.nrepl.middleware.trace$wrap_trace$fn__10309.invoke(trace.clj:65) | |
at clojure.tools.nrepl.middleware$wrap_conj_descriptor$fn__406.invoke(middleware.clj:17) | |
at clojure.tools.nrepl.server$handle_STAR_.invoke(server.clj:19) | |
at clojure.tools.nrepl.server$handle$fn__760.invoke(server.clj:28) | |
at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1910) | |
at clojure.lang.AFn.call(AFn.java:18) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
cljs.user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment