Skip to content

Instantly share code, notes, and snippets.

@neilmock
Created July 7, 2016 15:39
Show Gist options
  • Save neilmock/ff066966aa75538412a9e6a9a8421c27 to your computer and use it in GitHub Desktop.
Save neilmock/ff066966aa75538412a9e6a9a8421c27 to your computer and use it in GitHub Desktop.
figwheel webjars
clojure.lang.ExceptionInfo: Error in component :figwheel-system in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start {:reason :com.stuartsierra.component/component-function-threw-exception, :function #'com.stuartsierra.component/start, :system-key :figwheel-system, :component #figwheel_sidecar.system.FigwheelSystem{:system #object[clojure.lang.Atom 0x48eb05e9 {:status :ready, :val #<SystemMap>}]}, :system #<SystemMap>}
at clojure.core$ex_info.invokeStatic(core.clj:4617)
at clojure.core$ex_info.invoke(core.clj:4617)
at com.stuartsierra.component$try_action.invokeStatic(component.cljc:119)
at com.stuartsierra.component$try_action.invoke(component.cljc:116)
at com.stuartsierra.component$update_system$fn__17933.invoke(component.cljc:139)
at clojure.lang.ArraySeq.reduce(ArraySeq.java:109)
at clojure.core$reduce.invokeStatic(core.clj:6544)
at clojure.core$reduce.invoke(core.clj:6527)
at com.stuartsierra.component$update_system.invokeStatic(component.cljc:135)
at com.stuartsierra.component$update_system.doInvoke(component.cljc:129)
at clojure.lang.RestFn.invoke(RestFn.java:445)
at com.stuartsierra.component$start_system.invokeStatic(component.cljc:163)
at com.stuartsierra.component$start_system.invoke(component.cljc:155)
at com.stuartsierra.component$start_system.invokeStatic(component.cljc:161)
at com.stuartsierra.component$start_system.invoke(component.cljc:155)
at com.stuartsierra.component.SystemMap.start(component.cljc:178)
at figwheel_sidecar.system$start_figwheel_system$fn__19711.invoke(system.clj:625)
at figwheel_sidecar.system$dispatch_system_component_errors.invokeStatic(system.clj:611)
at figwheel_sidecar.system$dispatch_system_component_errors.invoke(system.clj:609)
at figwheel_sidecar.system$start_figwheel_system.invokeStatic(system.clj:625)
at figwheel_sidecar.system$start_figwheel_system.invoke(system.clj:623)
at figwheel_sidecar.system$start_figwheel_BANG__STAR_.invokeStatic(system.clj:660)
at figwheel_sidecar.system$start_figwheel_BANG__STAR_.invoke(system.clj:646)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invokeStatic(core.clj:646)
at clojure.core$apply.invoke(core.clj:641)
at figwheel_sidecar.system$start_figwheel_BANG_.invokeStatic(system.clj:704)
at figwheel_sidecar.system$start_figwheel_BANG_.doInvoke(system.clj:662)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at figwheel_sidecar.repl_api$start_figwheel_from_lein.invokeStatic(repl_api.clj:143)
at figwheel_sidecar.repl_api$start_figwheel_from_lein.invoke(repl_api.clj:139)
at figwheel_sidecar.repl_api$launch_from_lein.invokeStatic(repl_api.clj:185)
at figwheel_sidecar.repl_api$launch_from_lein.invoke(repl_api.clj:182)
at user$eval19773.invokeStatic(form-init3068381654839541352.clj:1)
at user$eval19773.invoke(form-init3068381654839541352.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6927)
at clojure.lang.Compiler.eval(Compiler.java:6917)
at clojure.lang.Compiler.load(Compiler.java:7379)
at clojure.lang.Compiler.loadFile(Compiler.java:7317)
at clojure.main$load_script.invokeStatic(main.clj:275)
at clojure.main$init_opt.invokeStatic(main.clj:277)
at clojure.main$init_opt.invoke(main.clj:277)
at clojure.main$initialize.invokeStatic(main.clj:308)
at clojure.main$null_opt.invokeStatic(main.clj:342)
at clojure.main$null_opt.invoke(main.clj:339)
at clojure.main$main.invokeStatic(main.clj:421)
at clojure.main$main.doInvoke(main.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: clojure.lang.ExceptionInfo: Error in component autobuild-dev in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start {:reason :com.stuartsierra.component/component-function-threw-exception, :function #'com.stuartsierra.component/start, :system-key "autobuild-dev", :component #figwheel_sidecar.components.cljs_autobuild.CLJSAutobuild{:build-config {:id "dev", :figwheel {:build-id "dev"}, :source-paths ["src/cljs"], :build-options {:output-dir "resources/public/js/out", :optimizations :none, :output-to "resources/public/js/app.js", :source-map-timestamp true, :asset-path "/js/out", :source-map true, :foreign-libs [{:file "META-INF/resources/webjars/foundation-sites/6.2.1/dist/foundation.min.js", :provides ["foundation"]}], :main "figwheel-webjars.core", :pretty-print true}, :compiler-env #object[clojure.lang.Atom 0x24f48ca0 {:status :ready, :val #CompilerEnv{}}]}, :figwheel-server #figwheel_sidecar.components.figwheel_server.FigwheelServer{:connection-count #object[clojure.lang.Atom 0x26443cdf {:status :ready, :val {}}], :browser-callbacks #object[clojure.lang.Atom 0x3610b1b3 {:status :ready, :val {}}], :ring-handler nil, :file-change-atom #object[clojure.lang.Atom 0x14d0c3ff {:status :ready, :val ()}], :compile-wait-time 10, :builds {"dev" {:id "dev", :figwheel {:build-id "dev"}, :source-paths ["src/cljs"], :build-options {:output-dir "resources/public/js/out", :optimizations :none, :output-to "resources/public/js/app.js", :source-map-timestamp true, :asset-path "/js/out", :source-map true, :foreign-libs [{:file "META-INF/resources/webjars/foundation-sites/6.2.1/dist/foundation.min.js", :provides ["foundation"]}], :main "figwheel-webjars.core", :pretty-print true}, :compiler-env #object[clojure.lang.Atom 0x24f48ca0 {:status :ready, :val #CompilerEnv{}}]}}, :nrepl-port 7002, :server-port 3449, :ansi-color-output true, :resolved-ring-handler nil, :server-ip "0.0.0.0", :cljs-build-fn #object[figwheel_sidecar.components.cljs_autobuild$color_output$fn__19484 0x13e4b8da "figwheel_sidecar.components.cljs_autobuild$color_output$fn__19484@13e4b8da"], :http-server #object[clojure.lang.AFunction$1 0x28aedf6e "clojure.lang.AFunction$1@28aedf6e"], :open-file-command nil, :unique-id "/home/neilmock/Projects/figwheel-webjars", :nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"], :log-writer #object[java.io.BufferedWriter 0x1eba80c9 "java.io.BufferedWriter@1eba80c9"], :file-md5-atom #object[clojure.lang.Atom 0x6ef146cc {:status :ready, :val {}}], :css-dirs ["resources/public/css"], :http-server-root "public"}}, :system #<SystemMap>}
at clojure.core$ex_info.invokeStatic(core.clj:4617)
at clojure.core$ex_info.invoke(core.clj:4617)
at com.stuartsierra.component$try_action.invokeStatic(component.cljc:119)
at com.stuartsierra.component$try_action.invoke(component.cljc:116)
at com.stuartsierra.component$update_system$fn__17933.invoke(component.cljc:139)
at clojure.lang.ArraySeq.reduce(ArraySeq.java:114)
at clojure.core$reduce.invokeStatic(core.clj:6544)
at clojure.core$reduce.invoke(core.clj:6527)
at com.stuartsierra.component$update_system.invokeStatic(component.cljc:135)
at com.stuartsierra.component$update_system.doInvoke(component.cljc:129)
at clojure.lang.RestFn.invoke(RestFn.java:445)
at com.stuartsierra.component$start_system.invokeStatic(component.cljc:163)
at com.stuartsierra.component$start_system.invoke(component.cljc:155)
at com.stuartsierra.component$start_system.invokeStatic(component.cljc:161)
at com.stuartsierra.component$start_system.invoke(component.cljc:155)
at com.stuartsierra.component.SystemMap.start(component.cljc:178)
at com.stuartsierra.component$eval17874$fn__17875$G__17864__17877.invoke(component.cljc:5)
at com.stuartsierra.component$eval17874$fn__17875$G__17863__17880.invoke(component.cljc:5)
at clojure.lang.Atom.swap(Atom.java:37)
at clojure.core$swap_BANG_.invokeStatic(core.clj:2260)
at clojure.core$swap_BANG_.invoke(core.clj:2253)
at figwheel_sidecar.system.FigwheelSystem.start(system.clj:121)
at com.stuartsierra.component$eval17874$fn__17875$G__17864__17877.invoke(component.cljc:5)
at com.stuartsierra.component$eval17874$fn__17875$G__17863__17880.invoke(component.cljc:5)
at clojure.lang.Var.invoke(Var.java:379)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.core$apply.invokeStatic(core.clj:648)
at clojure.core$apply.invoke(core.clj:641)
at com.stuartsierra.component$try_action.invokeStatic(component.cljc:117)
... 50 more
Caused by: java.nio.file.NoSuchFileException: /home/neilmock/Projects/figwheel-webjars/META-INF/resources/webjars/foundation-sites/6.2.1/dist
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.asIOException(UnixException.java:111)
at sun.nio.fs.LinuxWatchService$Poller.implRegister(LinuxWatchService.java:246)
at sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:260)
at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:329)
at java.lang.Thread.run(Thread.java:745)
Figwheel: Cleaning because dependencies changed
Figwheel: Cutting some fruit, just a sec ...
Figwheel: Validating the configuration found in project.clj
Figwheel: Configuration Valid :)
Figwheel: Starting server at http://0.0.0.0:3449
Figwheel: Watching build - dev
Figwheel: Cleaning build - dev
Compiling "resources/public/js/app.js" from ["src/cljs"]...
Successfully compiled "resources/public/js/app.js" in 10.331 seconds.
Figwheel: Starting CSS Watcher for paths ["resources/public/css"]
Figwheel: Starting nREPL server on port: 7002
Launching ClojureScript REPL for build: dev
Figwheel Controls:
(stop-autobuild) ;; stops Figwheel autobuilder
(start-autobuild [id ...]) ;; starts autobuilder focused on optional ids
(switch-to-build id ...) ;; switches autobuilder to different build
(reset-autobuild) ;; stops, cleans, and starts autobuilder
(reload-config) ;; reloads build config and resets autobuild
(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 another 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment