shadow-cljs

2025-06-14T03:51:23.362839Z

[clojure.lang.Compiler namespaceFor "Compiler.java" 7940]
:message
"Cannot invoke \"clojure.lang.Namespace.lookupAlias(clojure.lang.Symbol)\" because \"inns\" is null"
:type
java.lang.NullPointerException
When I launch clojure -M:dev -m shadow.cljs.devtools.cli watch app and try to run (ns foo) in the shadow server REPL (with CLJ target) I get the above error. This is my deps.edn:
:dev {:extra-deps {thheller/shadow-cljs {:mvn/version "3.1.6"}
                              binaryage/devtools {:mvn/version "1.0.7"}}
                 :jvm-opts ["--enable-native-access=ALL-UNNAMED"]}

gaverhae 2025-06-14T12:23:14.570709Z

inns is likely a misspelling of clojure.core/in-ns, either in your code or in one of your dependencies.

2025-06-14T04:11:53.709969Z

If I connect an nRepl myself, this does not happen.

2025-06-14T04:13:53.076339Z

It also seems to not happen all the time. Unsure

thheller 2025-06-14T05:23:29.800469Z

what is the full exception trace?

thheller 2025-06-14T05:23:58.964499Z

could be nrepl middleware related maybe?