Closed zeukterialpneumaion closed 8 years ago
my java version is: java version "1.8.0_74" Java(TM) SE Runtime Environment (build 1.8.0_74-b02) Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
Can you send me the project clj that's causing this?
Sent from my iPhone
On Mar 24, 2016, at 1:23 PM, zeukterialpneumaion notifications@github.com wrote:
Thankyou for an amazing body of work ... just getting into it all with clj/cljs ... ok, am hitting this wall ... trying to instantiate the om-tut example from the commandline:: I'm running windows 8 so, here's the full error report:: om-tut>lein figwheel clojure.lang.Compiler$CompilerException: java.lang.NullPointerException, compili ng:(validate_config.clj:234:5) at clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3657) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$DefExpr.eval (Compiler.java:451) clojure.lang.Compiler.eval (Compiler.java:6932) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.RT.loadResourceScript (RT.java:372) clojure.lang.RT.loadResourceScript (RT.java:363) clojure.lang.RT.load (RT.java:453) clojure.lang.RT.load (RT.java:419) clojure.core$load$fn5677.invoke (core.clj:5893) clojure.core$load.invokeStatic (core.clj:5892) clojure.core$load.doInvoke (core.clj:5876) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.core$load_one.invokeStatic (core.clj:5697) clojure.core$load_one.invoke (core.clj:5692) clojure.core$load_lib$fn__5626.invoke (core.clj:5737) clojure.core$load_lib.invokeStatic (core.clj:5736) clojure.core$load_lib.doInvoke (core.clj:5717) clojure.lang.RestFn.applyTo (RestFn.java:142) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$load_libs.invokeStatic (core.clj:5774) clojure.core$load_libs.doInvoke (core.clj:5758) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$require.invokeStatic (core.clj:5796) clojure.core$require.doInvoke (core.clj:5796) clojure.lang.RestFn.invoke (RestFn.java:408) leiningen.figwheel$validate_figwheel_conf.invokeStatic (figwheel.clj:102) leiningen.figwheel$validate_figwheel_conf.invoke (figwheel.clj:97) leiningen.figwheel$figwheel.invokeStatic (figwheel.clj:113) leiningen.figwheel$figwheel.doInvoke (figwheel.clj:109) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$partial_task$fn5829.doInvoke (main.clj:272) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.AFunction$1.doInvoke (AFunction.java:29) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$apply_task.invokeStatic (main.clj:322) leiningen.core.main$apply_task.invoke (main.clj:308) leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328) leiningen.core.main$resolve_and_apply.invoke (main.clj:324) leiningen.core.main$_main$fn5895.invoke (main.clj:401) leiningen.core.main$_main.invokeStatic (main.clj:394) leiningen.core.main$_main.doInvoke (main.clj:391) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:646) clojure.main$main_opt.invokeStatic (main.clj:314) clojure.main$main_opt.invoke (main.clj:310) clojure.main$main.invokeStatic (main.clj:421) clojure.main$main.doInvoke (main.clj:384) clojure.lang.RestFn.invoke (RestFn.java:436) clojure.lang.Var.invoke (Var.java:388) clojure.lang.AFn.applyToHelper (AFn.java:160) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37) Caused by: java.lang.NullPointerException: null at clojure.core$name.invokeStatic (core.clj:1546) clojure.core$name.invoke (core.clj:1540) figwheel_sidecar.config_check.document$GT_doc_rules.invokeStatic (document .clj:77) figwheel_sidecar.config_check.document$GT_doc_rules.invoke (document.clj:7 6) clojure.core$map$fn4785.invoke (core.clj:2644) clojure.lang.LazySeq.sval (LazySeq.java:40) clojure.lang.LazySeq.seq (LazySeq.java:49) clojure.lang.RT.seq (RT.java:521) clojure.core$seq4357.invokeStatic (core.clj:137) clojure.core$apply.invokeStatic (core.clj:641) clojure.core$mapcat.invokeStatic (core.clj:2674) clojure.core$mapcat.doInvoke (core.clj:2674) clojure.lang.RestFn.invoke (RestFn.java:423) figwheel_sidecar.config_check.document$get_docs.invokeStatic (document.clj:8 5) figwheel_sidecar.config_check.document$get_docs.invoke (document.clj:84) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.AFn.applyTo (AFn.java:144) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3652) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$DefExpr.eval (Compiler.java:451) clojure.lang.Compiler.eval (Compiler.java:6932) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.RT.loadResourceScript (RT.java:372) clojure.lang.RT.loadResourceScript (RT.java:363) clojure.lang.RT.load (RT.java:453) clojure.lang.RT.load (RT.java:419) clojure.core$load$fn5677.invoke (core.clj:5893) clojure.core$load.invokeStatic (core.clj:5892) clojure.core$load.doInvoke (core.clj:5876) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.core$load_one.invokeStatic (core.clj:5697) clojure.core$load_one.invoke (core.clj:5692) clojure.core$load_lib$fn5626.invoke (core.clj:5737) clojure.core$load_lib.invokeStatic (core.clj:5736) clojure.core$load_lib.doInvoke (core.clj:5717) clojure.lang.RestFn.applyTo (RestFn.java:142) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$load_libs.invokeStatic (core.clj:5774) clojure.core$load_libs.doInvoke (core.clj:5758) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$require.invokeStatic (core.clj:5796) clojure.core$require.doInvoke (core.clj:5796) clojure.lang.RestFn.invoke (RestFn.java:408) leiningen.figwheel$validate_figwheel_conf.invokeStatic (figwheel.clj:102) leiningen.figwheel$validate_figwheel_conf.invoke (figwheel.clj:97) leiningen.figwheel$figwheel.invokeStatic (figwheel.clj:113) leiningen.figwheel$figwheel.doInvoke (figwheel.clj:109) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$partial_task$fn__5829.doInvoke (main.clj:272) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.AFunction$1.doInvoke (AFunction.java:29) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$apply_task.invokeStatic (main.clj:322) leiningen.core.main$apply_task.invoke (main.clj:308) leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328) leiningen.core.main$resolve_and_apply.invoke (main.clj:324) leiningen.core.main$_main$fn5895.invoke (main.clj:401) leiningen.core.main$_main.invokeStatic (main.clj:394) leiningen.core.main$_main.doInvoke (main.clj:391) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:646) clojure.main$main_opt.invokeStatic (main.clj:314) clojure.main$main_opt.invoke (main.clj:310) clojure.main$main.invokeStatic (main.clj:421) clojure.main$main.doInvoke (main.clj:384) clojure.lang.RestFn.invoke (RestFn.java:436) clojure.lang.Var.invoke (Var.java:388) clojure.lang.AFn.applyToHelper (AFn.java:160) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37)
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
sure ... its from your om-tut example ....
(defproject om-tut "0.1.0-SNAPSHOT" :description "FIXME: write this!" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.6.1"
:dependencies [[org.clojure/clojure "1.8.0"] [org.clojure/clojurescript "1.7.228"] [org.clojure/core.async "0.2.374" :exclusions [org.clojure/tools.reader]] [sablono "0.3.6"] [org.omcljs/om "0.9.0"]]
:plugins [[lein-figwheel "0.5.1"] [lein-cljsbuild "1.1.3" :exclusions [[org.clojure/clojure]]]]
:source-paths ["src"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:cljsbuild {:builds [{:id "dev" :source-paths ["src"]
;; If no code is to be run, set :figwheel true for continued automagical reloading
:figwheel {:on-jsload "om-tut.core/on-js-reload"}
:compiler {:main om-tut.core
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/om_tut.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true}}
;; This next build is an compressed minified build for
;; production. You can build this with:
;; lein cljsbuild once min
{:id "min"
:source-paths ["src"]
:compiler {:output-to "resources/public/js/compiled/om_tut.js"
:main om-tut.core
:optimizations :advanced
:pretty-print false}}]}
:figwheel {;; :http-server-root "public" ;; default and assumes "resources" ;; :server-port 3449 ;; default ;; :server-ip "127.0.0.1"
:css-dirs ["resources/public/css"] ;; watch and update CSS
;; Start an nREPL server into the running figwheel process
;; :nrepl-port 7888
;; Server Ring Handler (optional)
;; if you want to embed a ring handler into the figwheel http-kit
;; server, this is for simple ring servers, if this
;; doesn't work for you just run your own server :)
;; :ring-handler hello_world.server/handler
;; To be able to open files in your editor from the heads up display
;; you will need to put a script on your path.
;; that script will have to take a file path and a line number
;; ie. in ~/bin/myfile-opener
;; #! /bin/sh
;; emacsclient -n +$2 $1
;;
;; :open-file-command "myfile-opener"
;; if you want to disable the REPL
;; :repl false
;; to configure a different figwheel logfile path
;; :server-logfile "tmp/logs/figwheel-logfile.log"
})
hmmm...apologies (cut and paste was messy there...just zipped it) yes was working from a tutorial on om ...(not yours apologies again!) literally i just called ::: lein new figwheel om-tut -- --om on commandline was from this: ( https://github.com/omcljs/om/wiki/Basic-Tutorial )
attached project.clj:: project.zip
thanks again for all your hard work and a super quick response! jez.
running Leiningen 2.6.1
.... just tried the example from lein-figwheel-master/example... think its the same error::
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// \lein-figwheel-master\example>lein figwheel clojure.lang.Compiler$CompilerException: java.lang.NullPointerException, compili ng:(validate_config.clj:234:5) at clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3657) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$DefExpr.eval (Compiler.java:451) clojure.lang.Compiler.eval (Compiler.java:6932) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.RT.loadResourceScript (RT.java:372) clojure.lang.RT.loadResourceScript (RT.java:363) clojure.lang.RT.load (RT.java:453) clojure.lang.RT.load (RT.java:419) clojure.core$load$fn5677.invoke (core.clj:5893) clojure.core$load.invokeStatic (core.clj:5892) clojure.core$load.doInvoke (core.clj:5876) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.core$load_one.invokeStatic (core.clj:5697) clojure.core$load_one.invoke (core.clj:5692) clojure.core$load_lib$fn__5626.invoke (core.clj:5737) clojure.core$load_lib.invokeStatic (core.clj:5736) clojure.core$load_lib.doInvoke (core.clj:5717) clojure.lang.RestFn.applyTo (RestFn.java:142) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$load_libs.invokeStatic (core.clj:5774) clojure.core$load_libs.doInvoke (core.clj:5758) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$require.invokeStatic (core.clj:5796) clojure.core$require.doInvoke (core.clj:5796) clojure.lang.RestFn.invoke (RestFn.java:408) leiningen.figwheel$validate_figwheel_conf.invokeStatic (figwheel.clj:102) leiningen.figwheel$validate_figwheel_conf.invoke (figwheel.clj:97) leiningen.figwheel$figwheel.invokeStatic (figwheel.clj:113) leiningen.figwheel$figwheel.doInvoke (figwheel.clj:109) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$partial_task$fn5829.doInvoke (main.clj:272) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.AFunction$1.doInvoke (AFunction.java:29) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$apply_task.invokeStatic (main.clj:322) leiningen.core.main$apply_task.invoke (main.clj:308) leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328) leiningen.core.main$resolve_and_apply.invoke (main.clj:324) leiningen.core.main$_main$fn5895.invoke (main.clj:401) leiningen.core.main$_main.invokeStatic (main.clj:394) leiningen.core.main$_main.doInvoke (main.clj:391) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:646) clojure.main$main_opt.invokeStatic (main.clj:314) clojure.main$main_opt.invoke (main.clj:310) clojure.main$main.invokeStatic (main.clj:421) clojure.main$main.doInvoke (main.clj:384) clojure.lang.RestFn.invoke (RestFn.java:436) clojure.lang.Var.invoke (Var.java:388) clojure.lang.AFn.applyToHelper (AFn.java:160) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37) Caused by: java.lang.NullPointerException: null at clojure.core$name.invokeStatic (core.clj:1546) clojure.core$name.invoke (core.clj:1540) figwheel_sidecar.config_check.document$GT_doc_rules.invokeStatic (document .clj:77) figwheel_sidecar.config_check.document$GT_doc_rules.invoke (document.clj:7 6) clojure.core$map$fn4785.invoke (core.clj:2644) clojure.lang.LazySeq.sval (LazySeq.java:40) clojure.lang.LazySeq.seq (LazySeq.java:49) clojure.lang.RT.seq (RT.java:521) clojure.core$seq4357.invokeStatic (core.clj:137) clojure.core$apply.invokeStatic (core.clj:641) clojure.core$mapcat.invokeStatic (core.clj:2674) clojure.core$mapcat.doInvoke (core.clj:2674) clojure.lang.RestFn.invoke (RestFn.java:423) figwheel_sidecar.config_check.document$get_docs.invokeStatic (document.clj:8 5) figwheel_sidecar.config_check.document$get_docs.invoke (document.clj:84) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.AFn.applyTo (AFn.java:144) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3652) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$DefExpr.eval (Compiler.java:451) clojure.lang.Compiler.eval (Compiler.java:6932) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.RT.loadResourceScript (RT.java:372) clojure.lang.RT.loadResourceScript (RT.java:363) clojure.lang.RT.load (RT.java:453) clojure.lang.RT.load (RT.java:419) clojure.core$load$fn5677.invoke (core.clj:5893) clojure.core$load.invokeStatic (core.clj:5892) clojure.core$load.doInvoke (core.clj:5876) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.core$load_one.invokeStatic (core.clj:5697) clojure.core$load_one.invoke (core.clj:5692) clojure.core$load_lib$fn5626.invoke (core.clj:5737) clojure.core$load_lib.invokeStatic (core.clj:5736) clojure.core$load_lib.doInvoke (core.clj:5717) clojure.lang.RestFn.applyTo (RestFn.java:142) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$load_libs.invokeStatic (core.clj:5774) clojure.core$load_libs.doInvoke (core.clj:5758) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$require.invokeStatic (core.clj:5796) clojure.core$require.doInvoke (core.clj:5796) clojure.lang.RestFn.invoke (RestFn.java:408) leiningen.figwheel$validate_figwheel_conf.invokeStatic (figwheel.clj:102) leiningen.figwheel$validate_figwheel_conf.invoke (figwheel.clj:97) leiningen.figwheel$figwheel.invokeStatic (figwheel.clj:113) leiningen.figwheel$figwheel.doInvoke (figwheel.clj:109) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$partial_task$fn__5829.doInvoke (main.clj:272) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.AFunction$1.doInvoke (AFunction.java:29) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$apply_task.invokeStatic (main.clj:322) leiningen.core.main$apply_task.invoke (main.clj:308) leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328) leiningen.core.main$resolve_and_apply.invoke (main.clj:324) leiningen.core.main$_main$fn5895.invoke (main.clj:401) leiningen.core.main$_main.invokeStatic (main.clj:394) leiningen.core.main$_main.doInvoke (main.clj:391) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:646) clojure.main$main_opt.invokeStatic (main.clj:314) clojure.main$main_opt.invoke (main.clj:310) clojure.main$main.invokeStatic (main.clj:421) clojure.main$main.doInvoke (main.clj:384) clojure.lang.RestFn.invoke (RestFn.java:436) clojure.lang.Var.invoke (Var.java:388) clojure.lang.AFn.applyToHelper (AFn.java:160) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
update:to let you know that chestnut (https://github.com/plexus/chestnut) is working for me with figwheel inside...perfect!
Hey I think I fixed this could you try the new template again but reference [lein-figwheel "0.5.2-SNAPSHOT"]
and see how it behaves? I'm pretty sure its a Windows path problem.
Bruce! Yes!!!! All working , flappy bird demo, lein new figwheel et al ... awesome!!! sheesh this is sooo powerful ... straight into devving using threejs oimojs cljsjs- ed ... wow!! this is absolutely fantastic, realtime!!!!!! thankyou so much ... ...this is a whole new paradigm for me ... ...no way back though now is there?x
yes....here's my trace out:: worked with the default lein figwheel version [lein-figwheel "0.5.0-6"] and the [lein-figwheel "0.5.2-SNAPSHOT"] actually ... hmmm ... ...a strange little error ... but yes, tis smooth as butter now! thankyou...!!!!!! Jez.
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\flappy- bird-demo>lein figwheel Retrieving lein-figwheel/lein-figwheel/0.5.0-SNAPSHOT/lein-figwheel-0.5.0-201511 09.200827-6.pom from clojars Retrieving figwheel-sidecar/figwheel-sidecar/0.5.0-SNAPSHOT/figwheel-sidecar-0.5 .0-20151109.200757-7.pom from clojars Retrieving org/clojure/core.async/0.2.371/core.async-0.2.371.pom from central Retrieving org/clojure/tools.analyzer.jvm/0.6.7/tools.analyzer.jvm-0.6.7.pom fro m central Retrieving org/clojure/tools.analyzer/0.6.6/tools.analyzer-0.6.6.pom from centra l Retrieving http-kit/http-kit/2.1.18/http-kit-2.1.18.pom from clojars Retrieving figwheel/figwheel/0.5.0-SNAPSHOT/figwheel-0.5.0-20151109.200732-4.pom from clojars Retrieving lein-figwheel/lein-figwheel/0.5.0-SNAPSHOT/lein-figwheel-0.5.0-201511 09.200827-6.jar from clojars Retrieving figwheel/figwheel/0.5.0-SNAPSHOT/figwheel-0.5.0-20151109.200732-4.jar from clojars Retrieving figwheel-sidecar/figwheel-sidecar/0.5.0-SNAPSHOT/figwheel-sidecar-0.5 .0-20151109.200757-7.jar from clojars Retrieving org/clojure/tools.analyzer.jvm/0.6.7/tools.analyzer.jvm-0.6.7.jar fro m central Retrieving org/clojure/core.async/0.2.371/core.async-0.2.371.jar from central Retrieving org/clojure/tools.analyzer/0.6.6/tools.analyzer-0.6.6.jar from centra l Retrieving http-kit/http-kit/2.1.18/http-kit-2.1.18.jar from clojars Retrieving sablono/sablono/0.4.0/sablono-0.4.0.pom from clojars Retrieving sablono/sablono/0.4.0/sablono-0.4.0.jar from clojars Figwheel: Starting server at http://localhost:3449 Figwheel: Watching build - flappy-bird-demo ←[0mCompiling "resources/public/js/flappy_bird_demo.js" from ["src"]... ←[32mSuccessfully compiled "resources/public/js/flappy_bird_demo.js" in 12.37 se conds.←[0m Figwheel: Starting CSS Watcher for paths ["resources/public/css"] Launching ClojureScript REPL for build: flappy-bird-demo Figwheel Controls: (stop-autobuild) ;; stops Figwheel autobuilder (start-autobuild [id ...]) ;; starts autobuilder focused on optio nal ids (switch-to-build id ...) ;; switches autobuilder to different b uild (reset-autobuild) ;; stops, cleans, and starts autobuild er (reload-config) ;; reloads build config and resets aut obuild (build-once [id ...]) ;; builds source one time (clean-builds [id ..]) ;; deletes compiled cljs target files (print-config [id ...]) ;; prints out build configurations (fig-status) ;; displays current state of system Switch REPL build focus: :cljs/quit ;; allows you to switch REPL to anothe r build Docs: (doc function-name-here) Exit: Control+C or :cljs/quit Results: Stored in vars 1, 2, 3, e holds last exception object Prompt will show when Figwheel connects to your application To quit, type: :cljs/quit cljs.user=> Subprocess failed
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\flappy- bird-demo>cd ../
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy>lein ne
w figwheel
Generating a project called figwheel based on the 'default' template.
The default template is intended for library projects, not applications.
To see other templates (app, plugin, etc), try lein help new
.
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy>lein ne
w figwheel ajh
Retrieving figwheel/lein-template/0.5.1-1/lein-template-0.5.1-1.pom from clojars
Retrieving figwheel/lein-template/0.5.1-1/lein-template-0.5.1-1.jar from clojars
Generating fresh 'lein new' figwheel project. C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy>cd ajh
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\ajh>lei n figwheel Figwheel: Starting server at http://localhost:3449 Figwheel: Watching build - dev ←[0mCompiling "resources/public/js/compiled/ajh.js" from ["src"]... ←[32mSuccessfully compiled "resources/public/js/compiled/ajh.js" in 9.645 second s.←[0m Figwheel: Starting CSS Watcher for paths ["resources/public/css"] Launching ClojureScript REPL for build: dev Figwheel Controls: (stop-autobuild) ;; stops Figwheel autobuilder (start-autobuild [id ...]) ;; starts autobuilder focused on optio nal ids (switch-to-build id ...) ;; switches autobuilder to different b uild (reset-autobuild) ;; stops, cleans, and starts autobuild er (reload-config) ;; reloads build config and resets aut obuild (build-once [id ...]) ;; builds source one time (clean-builds [id ..]) ;; deletes compiled cljs target files (print-config [id ...]) ;; prints out build configurations (fig-status) ;; displays current state of system Switch REPL build focus: :cljs/quit ;; allows you to switch REPL to anothe r build Docs: (doc function-name-here) Exit: Control+C or :cljs/quit Results: Stored in vars 1, 2, 3, e holds last exception object Prompt will show when Figwheel connects to your application To quit, type: :cljs/quit cljs.user=> Subprocess failed
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\ajh>lei n figwheel Retrieving lein-figwheel/lein-figwheel/0.5.2-SNAPSHOT/lein-figwheel-0.5.2-201603 25.013053-1.pom from clojars Retrieving figwheel-sidecar/figwheel-sidecar/0.5.2-SNAPSHOT/figwheel-sidecar-0.5 .2-20160325.013005-1.pom from clojars Retrieving figwheel/figwheel/0.5.2-SNAPSHOT/figwheel-0.5.2-20160325.012931-1.pom from clojars Retrieving figwheel-sidecar/figwheel-sidecar/0.5.2-SNAPSHOT/figwheel-sidecar-0.5 .2-20160325.013005-1.jar from clojars Retrieving lein-figwheel/lein-figwheel/0.5.2-SNAPSHOT/lein-figwheel-0.5.2-201603 25.013053-1.jar from clojars Retrieving figwheel/figwheel/0.5.2-SNAPSHOT/figwheel-0.5.2-20160325.012931-1.jar from clojars Figwheel: Validating the configuration found in project.clj
Figwheel: Configuration Valid. Starting Figwheel ...
Figwheel: Starting server at http://localhost:3449
Figwheel: Watching build - dev
←[0mCompiling "resources/public/js/compiled/ajh.js" from ["src"]...
←[32mSuccessfully compiled "resources/public/js/compiled/ajh.js" in 5.223 second
s.←[0m
Figwheel: Starting CSS Watcher for paths ["resources/public/css"]
Launching ClojureScript REPL for build: dev
Figwheel Controls:
(stop-autobuild) ;; stops Figwheel autobuilder
(start-autobuild [id ...]) ;; starts autobuilder focused on optio
nal ids
(switch-to-build id ...) ;; switches autobuilder to different b
uild
(reset-autobuild) ;; stops, cleans, and starts autobuild
er
(reload-config) ;; reloads build config and resets aut
obuild
(build-once [id ...]) ;; builds source one time
(clean-builds [id ..]) ;; deletes compiled cljs target files
(print-config [id ...]) ;; prints out build configurations
(fig-status) ;; displays current state of system
Switch REPL build focus:
:cljs/quit ;; allows you to switch REPL to anothe
r build
Docs: (doc function-name-here)
Exit: Control+C or :cljs/quit
Results: Stored in vars 1, 2, 3, *e holds last exception object
Prompt will show when Figwheel connects to your application
To quit, type: :cljs/quit
cljs.user=> ( 3 3)
9
cljs.user=> cljs quit
WARNING: Use of undeclared Var cljs.user/cljs at line 1
cljs.user=> quit
WARNING: Use of undeclared Var cljs.user/quit at line 1
cljs.user=> (fig-status)
Watching builds: [dev] Client Connections
nil cljs.user=> (reload-config) Figwheel: Stopped watching build - dev Figwheel: Reloading build config information Figwheel: Cleaning build - dev Figwheel: Watching build - dev ←[0mCompiling "resources/public/js/compiled/ajh.js" from ["src"]... ←[32mSuccessfully compiled "resources/public/js/compiled/ajh.js" in 6.277 second s.←[0m nil cljs.user=>
Very cool. Could you check one more thing for me?
Could you change the :compiler
keyword in your project.clj to :compilerr
and then run lein figwheel
using [lein-figwheel "0.5.2-SNAPSHOT"]?
You should see a configuration spelling Error. Could you send me the content of this error?
sure Bruce! ok, here's the rror using lein new figwheel ajh project ([lein-figwheel "0.5.2-SNAPSHOT"]) :cljsbuild {:builds [{:id "dev" :source-paths ["src"]
;; If no code is to be run, set :figwheel true for
continued automagical reloading :figwheel {:on-jsload "ajh.core/on-js-reload"}
:*compilerr* {:main ajh.core
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/ajh.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true}}
;; This next build is an compressed minified build for
;; production. You can build this with:
;; lein cljsbuild once min
{:id "min"
:source-paths ["src"]
:compiler {:output-to "resources/public/js/compiled/ajh.js"
:main ajh.core
:optimizations :advanced
:pretty-print false}}]}
###################################################### ERROR REPORT: ###################################################### C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\ajh>lei n figwheel Figwheel: Validating the configuration found in project.clj ←[31m ------- Figwheel Configuration Error ------- ←[0m The key ←[1m:compilerr←[0m is spelled wrong. It should probably be ←[32m:compile r←[0m
:cljsbuild { :builds [{ ←[31m :compilerr←[0m { :main ajh.core :asset-path "js/compiled/out" :output-to "resources/public/js/compiled/ajh.js" ... } ←[3;35m ^ key :compilerr is spelled wrong←[0m }]}
←[31mFigwheel: There are errors in your configuration file - project.clj←[0m Figwheel: Would you like to: (f)ix the error live while Figwheel watches for config changes? (q)uit and fix your configuration? (s)tart Figwheel anyway? Please choose f, q or s and then hit Enter [f]:
#####################################################################
On 26 March 2016 at 00:12, Bruce Hauman notifications@github.com wrote:
Very cool. Could you check one more thing for me?
Could you change the :compiler keyword in your project.clj to :compilerr and then run lein figwheel using [lein-figwheel "0.5.2-SNAPSHOT"]?
You should see a configuration spelling Error. Could you send me the content of this error?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/bhauman/lein-figwheel/issues/364#issuecomment-201606187
and changing error to use 'compilerr' for output directory :: ##################################### ERROR REPORT ##################################### C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\ajh>lei n figwheel Figwheel: Validating the configuration found in project.clj ←[31m ------- Figwheel Configuration Error ------- ←[0m The key ←[1m:compilerr←[0m is spelled wrong. It should probably be ←[32m:compile r←[0m
:cljsbuild { :builds { 1 { ←[31m :compilerr←[0m { :output-to "resources/public/js/compiled/ajh.js" :main ajh.core :optimizations :advanced ... } ←[3;35m ^ key :compilerr is spelled wrong←[0m }}}
←[31mFigwheel: There are errors in your configuration file - project.clj←[0m Figwheel: Would you like to: (f)ix the error live while Figwheel watches for config changes? (q)uit and fix your configuration? (s)tart Figwheel anyway? Please choose f, q or s and then hit Enter [f]: s ########################################
still compiles interestingly if i hit 's' both times though... thanks once again Bruce!
Unfortunately it's not working the way it should. The documentation for the error is not coming up. I must be addressing the resource in correctly.
I may ask you to do this one more time.
Sent from my iPhone
On Mar 25, 2016, at 11:57 PM, zeukterialpneumaion notifications@github.com wrote:
and changing error to use 'compilerr' for output directory :: ##################################### ERROR REPORT ##################################### C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\ajh>lei n figwheel Figwheel: Validating the configuration found in project.clj ←[31m ------- Figwheel Configuration Error ------- ←[0m The key ←[1m:compilerr←[0m is spelled wrong. It should probably be ←[32m:compile r←[0m
:cljsbuild { :builds { 1 { ←[31m :compilerr←[0m { :output-to "resources/public/js/compiled/ajh.js" :main ajh.core :optimizations :advanced ... } ←[3;35m ^ key :compilerr is spelled wrong←[0m }}}
←[31mFigwheel: There are errors in your configuration file - project.clj←[0m Figwheel: Would you like to: (f)ix the error live while Figwheel watches for config changes? (q)uit and fix your configuration? (s)tart Figwheel anyway? Please choose f, q or s and then hit Enter [f]: s ########################################
still compiles interestingly if i hit 's' both times though... thanks once again Bruce!
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
no worries Bruce! Whatever i can do! jez
On 26 March 2016 at 18:20, Bruce Hauman notifications@github.com wrote:
Unfortunately it's not working the way it should. The documentation for the error is not coming up. I must be addressing the resource in correctly.
I may ask you to do this one more time.
Sent from my iPhone
On Mar 25, 2016, at 11:57 PM, zeukterialpneumaion < notifications@github.com> wrote:
and changing error to use 'compilerr' for output directory :: ##################################### ERROR REPORT #####################################
C:\Users\aj\Documents\ajhWebsite\tryoutlayouts\legend\cubes\leins\flappy\ajh>lei n figwheel Figwheel: Validating the configuration found in project.clj ←[31m ------- Figwheel Configuration Error ------- ←[0m The key ←[1m:compilerr←[0m is spelled wrong. It should probably be ←[32m:compile r←[0m
:cljsbuild { :builds { 1 { ←[31m :compilerr←[0m { :output-to "resources/public/js/compiled/ajh.js" :main ajh.core :optimizations :advanced ... } ←[3;35m ^ key :compilerr is spelled wrong←[0m }}}
←[31mFigwheel: There are errors in your configuration file - project.clj←[0m Figwheel: Would you like to: (f)ix the error live while Figwheel watches for config changes? (q)uit and fix your configuration? (s)tart Figwheel anyway? Please choose f, q or s and then hit Enter [f]: s ########################################
still compiles interestingly if i hit 's' both times though... thanks once again Bruce!
— You are receiving this because you commented.
Reply to this email directly or view it on GitHub
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/bhauman/lein-figwheel/issues/364#issuecomment-201908493
Thankyou for an amazing body of work ... just getting into it all with clj/cljs ... ok, am hitting this wall ... trying to instantiate the om-tut example from the commandline:: I'm running windows 8 so, here's the full error report:: om-tut>lein figwheel clojure.lang.Compiler$CompilerException: java.lang.NullPointerException, compili ng:(validate_config.clj:234:5) at clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3657) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$DefExpr.eval (Compiler.java:451) clojure.lang.Compiler.eval (Compiler.java:6932) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.RT.loadResourceScript (RT.java:372) clojure.lang.RT.loadResourceScript (RT.java:363) clojure.lang.RT.load (RT.java:453) clojure.lang.RT.load (RT.java:419) clojure.core$load$fn5677.invoke (core.clj:5893) clojure.core$load.invokeStatic (core.clj:5892) clojure.core$load.doInvoke (core.clj:5876) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.core$load_one.invokeStatic (core.clj:5697) clojure.core$load_one.invoke (core.clj:5692) clojure.core$load_lib$fn__5626.invoke (core.clj:5737) clojure.core$load_lib.invokeStatic (core.clj:5736) clojure.core$load_lib.doInvoke (core.clj:5717) clojure.lang.RestFn.applyTo (RestFn.java:142) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$load_libs.invokeStatic (core.clj:5774) clojure.core$load_libs.doInvoke (core.clj:5758) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$require.invokeStatic (core.clj:5796) clojure.core$require.doInvoke (core.clj:5796) clojure.lang.RestFn.invoke (RestFn.java:408) leiningen.figwheel$validate_figwheel_conf.invokeStatic (figwheel.clj:102) leiningen.figwheel$validate_figwheel_conf.invoke (figwheel.clj:97) leiningen.figwheel$figwheel.invokeStatic (figwheel.clj:113) leiningen.figwheel$figwheel.doInvoke (figwheel.clj:109) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$partial_task$fn5829.doInvoke (main.clj:272) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.AFunction$1.doInvoke (AFunction.java:29) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$apply_task.invokeStatic (main.clj:322) leiningen.core.main$apply_task.invoke (main.clj:308) leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328) leiningen.core.main$resolve_and_apply.invoke (main.clj:324) leiningen.core.main$_main$fn5895.invoke (main.clj:401) leiningen.core.main$_main.invokeStatic (main.clj:394) leiningen.core.main$_main.doInvoke (main.clj:391) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:646) clojure.main$main_opt.invokeStatic (main.clj:314) clojure.main$main_opt.invoke (main.clj:310) clojure.main$main.invokeStatic (main.clj:421) clojure.main$main.doInvoke (main.clj:384) clojure.lang.RestFn.invoke (RestFn.java:436) clojure.lang.Var.invoke (Var.java:388) clojure.lang.AFn.applyToHelper (AFn.java:160) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37) Caused by: java.lang.NullPointerException: null at clojure.core$name.invokeStatic (core.clj:1546) clojure.core$name.invoke (core.clj:1540) figwheel_sidecar.config_check.document$GT_doc_rules.invokeStatic (document .clj:77) figwheel_sidecar.config_check.document$GT_doc_rules.invoke (document.clj:7 6) clojure.core$map$fn4785.invoke (core.clj:2644) clojure.lang.LazySeq.sval (LazySeq.java:40) clojure.lang.LazySeq.seq (LazySeq.java:49) clojure.lang.RT.seq (RT.java:521) clojure.core$seq4357.invokeStatic (core.clj:137) clojure.core$apply.invokeStatic (core.clj:641) clojure.core$mapcat.invokeStatic (core.clj:2674) clojure.core$mapcat.doInvoke (core.clj:2674) clojure.lang.RestFn.invoke (RestFn.java:423) figwheel_sidecar.config_check.document$get_docs.invokeStatic (document.clj:8 5) figwheel_sidecar.config_check.document$get_docs.invoke (document.clj:84) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.AFn.applyTo (AFn.java:144) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3652) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651) clojure.lang.Compiler$DefExpr.eval (Compiler.java:451) clojure.lang.Compiler.eval (Compiler.java:6932) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.RT.loadResourceScript (RT.java:372) clojure.lang.RT.loadResourceScript (RT.java:363) clojure.lang.RT.load (RT.java:453) clojure.lang.RT.load (RT.java:419) clojure.core$load$fn5677.invoke (core.clj:5893) clojure.core$load.invokeStatic (core.clj:5892) clojure.core$load.doInvoke (core.clj:5876) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.core$load_one.invokeStatic (core.clj:5697) clojure.core$load_one.invoke (core.clj:5692) clojure.core$load_lib$fn5626.invoke (core.clj:5737) clojure.core$load_lib.invokeStatic (core.clj:5736) clojure.core$load_lib.doInvoke (core.clj:5717) clojure.lang.RestFn.applyTo (RestFn.java:142) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$load_libs.invokeStatic (core.clj:5774) clojure.core$load_libs.doInvoke (core.clj:5758) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$require.invokeStatic (core.clj:5796) clojure.core$require.doInvoke (core.clj:5796) clojure.lang.RestFn.invoke (RestFn.java:408) leiningen.figwheel$validate_figwheel_conf.invokeStatic (figwheel.clj:102) leiningen.figwheel$validate_figwheel_conf.invoke (figwheel.clj:97) leiningen.figwheel$figwheel.invokeStatic (figwheel.clj:113) leiningen.figwheel$figwheel.doInvoke (figwheel.clj:109) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$partial_task$fn__5829.doInvoke (main.clj:272) clojure.lang.RestFn.invoke (RestFn.java:410) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.AFunction$1.doInvoke (AFunction.java:29) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:648) clojure.core$apply.invoke (core.clj:641) leiningen.core.main$apply_task.invokeStatic (main.clj:322) leiningen.core.main$apply_task.invoke (main.clj:308) leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328) leiningen.core.main$resolve_and_apply.invoke (main.clj:324) leiningen.core.main$_main$fn5895.invoke (main.clj:401) leiningen.core.main$_main.invokeStatic (main.clj:394) leiningen.core.main$_main.doInvoke (main.clj:391) clojure.lang.RestFn.invoke (RestFn.java:408) clojure.lang.Var.invoke (Var.java:379) clojure.lang.AFn.applyToHelper (AFn.java:154) clojure.lang.Var.applyTo (Var.java:700) clojure.core$apply.invokeStatic (core.clj:646) clojure.main$main_opt.invokeStatic (main.clj:314) clojure.main$main_opt.invoke (main.clj:310) clojure.main$main.invokeStatic (main.clj:421) clojure.main$main.doInvoke (main.clj:384) clojure.lang.RestFn.invoke (RestFn.java:436) clojure.lang.Var.invoke (Var.java:388) clojure.lang.AFn.applyToHelper (AFn.java:160) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37)