shadow-cljs 2025-06-14

[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"]}

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

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

It also seems to not happen all the time. Unsure

what is the full exception trace?

could be nrepl middleware related maybe?