Skip to content

Instantly share code, notes, and snippets.

@chenyong
Created December 7, 2017 03:36
Show Gist options
  • Save chenyong/71f9759f88f6498db55932e2ba896d68 to your computer and use it in GitHub Desktop.
Save chenyong/71f9759f88f6498db55932e2ba896d68 to your computer and use it in GitHub Desktop.
shadow-cljs error
=>> yarn watch
yarn run v1.3.2
$ shadow-cljs watch browser
shadow-cljs - config: /Users/chen/work/simulator/shadow-cljs.edn version: 2.0.105
shadow-cljs - starting ...
Can't load log handler "java.util.logging.FileHandler"
java.nio.file.NoSuchFileException: /Users/chen/work/shopfloor-simulator/target/shadow-cljs/logging.properties.0.lck
java.nio.file.NoSuchFileException: /Users/chen/work/shopfloor-simulator/target/shadow-cljs/logging.properties.0.lck
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
at java.nio.channels.FileChannel.open(FileChannel.java:287)
at java.nio.channels.FileChannel.open(FileChannel.java:335)
at java.util.logging.FileHandler.openFiles(FileHandler.java:459)
at java.util.logging.FileHandler.<init>(FileHandler.java:263)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at java.util.logging.LogManager$5.run(LogManager.java:966)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:958)
at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1578)
at java.util.logging.LogManager.access$1500(LogManager.java:145)
at java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:1667)
at java.util.logging.Logger.getHandlers(Logger.java:1777)
at java.util.logging.Logger.log(Logger.java:735)
at java.util.logging.Logger.doLog(Logger.java:765)
at java.util.logging.Logger.log(Logger.java:788)
at clojure.tools.logging$eval454$fn__457.invoke(cli.clj:1)
at clojure.tools.logging.impl$fn__191$G__173__202.invoke(impl.clj:16)
at clojure.tools.logging$log_STAR_.invokeStatic(logging.clj:64)
at clojure.tools.logging$log_STAR_.invoke(logging.clj:43)
at shadow.cljs.devtools.server$start_http$fn__26473.invoke(server.clj:140)
at shadow.cljs.devtools.server$start_http.invokeStatic(server.clj:137)
at shadow.cljs.devtools.server$start_http.invoke(server.clj:134)
at shadow.cljs.devtools.server$start_system.invokeStatic(server.clj:166)
at shadow.cljs.devtools.server$start_system.invoke(server.clj:147)
at shadow.cljs.devtools.server$start_BANG_.invokeStatic(server.clj:244)
at shadow.cljs.devtools.server$start_BANG_.invoke(server.clj:234)
at shadow.cljs.devtools.server$start_BANG_.invokeStatic(server.clj:237)
at shadow.cljs.devtools.server$start_BANG_.invoke(server.clj:234)
at shadow.cljs.devtools.server$from_cli.invokeStatic(server.clj:342)
at shadow.cljs.devtools.server$from_cli.invoke(server.clj:318)
at shadow.cljs.devtools.cli$blocking_action.invokeStatic(cli.clj:126)
at shadow.cljs.devtools.cli$blocking_action.invoke(cli.clj:113)
at shadow.cljs.devtools.cli$main.invokeStatic(cli.clj:174)
at shadow.cljs.devtools.cli$main.doInvoke(cli.clj:129)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:661)
at clojure.core$apply.invoke(core.clj:652)
at shadow.cljs.devtools.cli$_main.invokeStatic(cli.clj:213)
at shadow.cljs.devtools.cli$_main.doInvoke(cli.clj:211)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:702)
at clojure.core$apply.invokeStatic(core.clj:657)
at clojure.main$main_opt.invokeStatic(main.clj:317)
at clojure.main$main_opt.invoke(main.clj:313)
at clojure.main$main.invokeStatic(main.clj:424)
at clojure.main$main.doInvoke(main.clj:387)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:702)
at clojure.main.main(main.java:37)
[2017-12-07 11:35:04 - WARNING] TCP Port 9630 in use.
[2017-12-07 11:35:06 - WARNING] TCP Port 9631 in use.
shadow-cljs - HTTP server for ":browser" available at http://localhost:8080
shadow-cljs - server running at http://localhost:9632
shadow-cljs - watching build :browser
[:browser] Configuring build.
[:browser] Compiling ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment