Fork me on GitHub

I'm trying to cider-jack-in-cljs with a node repl and it's failing at init. It's trying to run (do (require 'cljs.repl.node) (cider.piggieback/cljs-repl (cljs.repl.node/repl-env))), but it fails when trying to call cider.piggieback/cljs-repl:

TypeError: Cannot read properties of undefined (reading 'error__GT_str')
    at Socket.<anonymous> ([stdin]:89:38)
    at Socket.emit (node:events:390:28)
    at Socket.emit (node:domain:475:12)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:285:11)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:199:23)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17)


This is what my cljs.repl.node/repl-env looks like:

{:host "localhost",
 :port 51620,
 :path nil,
 :socket #<[email protected]: nil>,
 :proc #<[email protected]: nil>,
 :state #<[email protected]: {:listeners 0}>,
 :debug-port nil}


I see there that the :socket and :proc atoms have a val of nil, and I wonder if that's a problem. But I'm not sure how to go about troubleshooting.