I'm walking through this page
https://clojurescript.org/guides/javascript-modules
and on the part where you reload the namespace from JS I get this:
cljs.user=> (require '[js.hello :as hello] :reload)
TypeError: Identifier 'sayHello$$module$src$js$hello' has already been declared
at
/Users/mbishop/Sides/clojure/cljs/hello-es6/.cljs_node_repl/src/js/hello.js:1:1
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at Object.runInThisContext (vm.js:97:38)
at nodeGlobalRequire (repl:87:6)
at global.CLOSURE_IMPORT_SCRIPT (repl:75:3)
at Object.goog.require (repl:21:8)
at repl:1:6
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at Object.runInThisContext (vm.js:97:38)
at Domain.<anonymous> ([stdin]:50:34)
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.