You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although this compiles with :target :nodejs as project.clj :compiler option, it then fails with
ReferenceError: navigator is not defined
at /home/clojure/test-node/run/resources/public/compiled_dev/parts/cuid/core.cljc:23:24
at Object.exports.runInThisContext (vm.js:54:17)
at nodeGlobalRequire (/home/clojure/test-node/run/resources/public/compiled_dev/parts/goog/bootstrap/nodejs.js:87:6)
at global.CLOSURE_IMPORT_SCRIPT (/home/clojure/test-node/run/resources/public/compiled_dev/parts/goog/bootstrap/nodejs.js:75:3)
at Object.goog.importScript_ (/home/clojure/test-node/run/resources/public/compiled_dev/parts/goog/base.js:907:9)
at Object.goog.writeScripts_ (/home/clojure/test-node/run/resources/public/compiled_dev/parts/goog/base.js:1420:16)
at Object.goog.require (/home/clojure/test-node/run/resources/public/compiled_dev/parts/goog/base.js:673:14)
at /home/clojure/test-node/run/resources/public/compiled_dev/parts/hat_node/calendar.js:8:6
at Object.exports.runInThisContext (vm.js:54:17)
at nodeGlobalRequire (/home/clojure/test-node/run/resources/public/compiled_dev/parts/goog/bootstrap/nodejs.js:87:6)
Although this compiles with
:target :nodejs
as project.clj :compiler option, it then fails withhttps://github.com/hden/cuid/blob/master/src/cuid/core.cljc#L23-L25
navigator & js/window likely to be an issue. Any suggestions ?
The text was updated successfully, but these errors were encountered: