Skip to content

Instantly share code, notes, and snippets.

@raspasov
Created March 5, 2021 07:40
Show Gist options
  • Save raspasov/7e3bdf03d60af47e71a9bc738fb8382e to your computer and use it in GitHub Desktop.
Save raspasov/7e3bdf03d60af47e71a9bc738fb8382e to your computer and use it in GitHub Desktop.
Compile warnings
[Figwheel:WARNING] Compile Warning target/public/cljs-out/ios/figwheel/repl.cljc line:52 column:17
Wrong number of args (1) passed to goog.log/getLogger
47 ;; goog.debug.Logger.Level.(SEVERE WARNING INFO CONFIG FINE FINER FINEST)
48 ;;
49 ;; set level (.setLevel logger goog.debug.Logger.Level.INFO)
50 ;; disable (.setCapturing log-console false)
51
52 (defonce logger (glog/getLogger "Figwheel REPL"))
^---
53
54 (defn ^:export console-logging []
55 (when-not (gobj/get goog.debug.Console "instance")
56 (let [c (goog.debug.Console.)]
57 ;; don't display time
[Figwheel:WARNING] Compile Warning target/public/cljs-out/ios/figwheel/repl.cljc line:70 column:3
Wrong number of args (3) passed to goog.log/log
65 true))
66
67 (defonce log-console (console-logging))
68
69 (defn debug [msg]
70 (glog/log logger goog.debug.Logger.Level.FINEST msg))
^---
71
72 ;; TODO dev
73 #_(.setLevel logger goog.debug.Logger.Level.FINEST)
74
75 ;; --------------------------------------------------------------
[Figwheel:WARNING] Compile Warning target/public/cljs-out/ios/figwheel/repl.cljc line:153 column:17
Wrong number of args (2) passed to goog.log/error
148 {:pre [(string? request-url) (not (nil? callback))]}
149 (callback (try
150 (do (.importScripts js/self (add-cache-buster request-url))
151 true)
152 (catch js/Error e
153 (glog/error logger (str "Figwheel: Error loading file " request-url))
^---
154 (glog/error logger e)
155 false))))
156
157 (defn ^:export create-node-script-import-fn []
158 (let [node-path-lib (js/require "path")
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:154 column:17
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:173 column:23
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:174 column:23
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/fine target/public/cljs-out/ios/figwheel/repl.cljc line:200 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/fine target/public/cljs-out/ios/figwheel/repl.cljc line:206 column:10
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:209 column:10
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:230 column:43
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:343 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:344 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:470 column:9
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:491 column:38
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:563 column:22
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:569 column:16
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:580 column:16
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:584 column:16
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/repl.cljc line:596 column:7
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/repl.cljc line:620 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (1) passed to goog.log/getLogger target/public/cljs-out/ios/figwheel/repl.cljc line:52 column:17
[Figwheel:WARNING] Compile Warning: Wrong number of args (3) passed to goog.log/log target/public/cljs-out/ios/figwheel/repl.cljc line:70 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:153 column:17
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:154 column:17
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:173 column:23
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:174 column:23
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/fine target/public/cljs-out/ios/figwheel/repl.cljc line:200 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/fine target/public/cljs-out/ios/figwheel/repl.cljc line:206 column:10
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:209 column:10
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:230 column:43
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:343 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:344 column:3
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:470 column:9
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:491 column:38
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:563 column:22
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:569 column:16
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/error target/public/cljs-out/ios/figwheel/repl.cljc line:580 column:16
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/repl.cljc line:584 column:16
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/repl.cljc line:596 column:7
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/repl.cljc line:620 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (1) passed to goog.log/getLogger target/public/cljs-out/ios/figwheel/core.cljc line:111 column:17
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:262 column:11
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:264 column:9
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:262 column:11
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:264 column:9
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:291 column:19
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:295 column:19
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:313 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:313 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:328 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (1) passed to goog.log/getLogger target/public/cljs-out/ios/figwheel/core.cljc line:111 column:17
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:262 column:11
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:264 column:9
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:262 column:11
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:264 column:9
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:291 column:19
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/info target/public/cljs-out/ios/figwheel/core.cljc line:295 column:19
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:313 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:313 column:5
[Figwheel:WARNING] Compile Warning: Wrong number of args (2) passed to goog.log/warning target/public/cljs-out/ios/figwheel/core.cljc line:328 column:5
[Figwheel] Successfully compiled build ios to "target/public/cljs-out/ios-main.js" in 32.503 seconds.
[Figwheel] Copying npm_deps.js
[Figwheel] Watching paths: ("src") to compile build - ios
[Figwheel] Starting Server at http://192.168.1.62:9500
[Figwheel] Starting REPL
Prompt will show when REPL connects to evaluation environment (i.e. a REPL hosting webpage)
Figwheel Main Controls:
(figwheel.main/stop-builds id ...) ;; stops Figwheel autobuilder for ids
(figwheel.main/start-builds id ...) ;; starts autobuilder focused on ids
(figwheel.main/reset) ;; stops, cleans, reloads config, and starts autobuilder
(figwheel.main/build-once id ...) ;; builds source one time
(figwheel.main/clean id ...) ;; deletes compiled cljs target files
(figwheel.main/status) ;; displays current state of system
Figwheel REPL Controls:
(figwheel.repl/conns) ;; displays the current connections
(figwheel.repl/focus session-name) ;; choose which session name to focus on
In the cljs.user ns, controls can be called without ns ie. (conns) instead of (figwheel.repl/conns)
Docs: (doc function-name-here)
Exit: :cljs/quit
Results: Stored in vars *1, *2, *3, *e holds last exception object
@raspasov
Copy link
Author

raspasov commented Mar 5, 2021

IMG_6329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment