Fork me on GitHub
#emacs
<
2020-01-08
>
ddellacosta22:01:41

I'm having a terrible time trying to get cider going for a cljs repo. I'm trying to start up a figwheel-main session but keep getting error in process filter: Figwheel-main is not available. I've gone so far as to put the library in my main dependencies in the project.clj but it's not working. Here's the command that is starting up the repl:

[nREPL] Starting server via /nix/store/rdxrnh3w290hdc8gj4zmcbgg5b7q2iri-leiningen-2.9.1/bin/lein update-in :dependencies conj \[nrepl\ \"0.6.0\"\] -- update-in :dependencies conj \[cider/piggieback\ \"0.4.2\"\] -- update-\
in :plugins conj \[cider/cider-nrepl\ \"0.23.0-SNAPSHOT\"\] -- with-profile +cider,+test,+dev,+user repl :headless :host ::
[nREPL] server started on 50397
[nREPL] Establishing direct connection to localhost:50397 ...
[nREPL] Direct connection to localhost:50397 established
error in process filter: user-error: Figwheel-main is not available.  Please check  for details
error in process filter: Figwheel-main is not available.  Please check  for details
Anyone have any advice as to how I can figure out what I'm missing?

dpsutton22:01:50

copy that startup command and paste it in a command line

dpsutton22:01:46

i thought figwheel-main with lein required a plugin?

ddellacosta22:01:55

the docs say > This setup is only necessary if cider-inject-dependencies-at-jack-in has been changed from its default setting of enabled, as described more fully above.

ddellacosta22:01:16

so I'm not even clear on why I have to configure anything

ddellacosta22:01:47

also pasted that line into my command line and ran it there and got the same thing I've been getting, so not sure what I can learn from that

dpsutton22:01:58

you ran the startup command in the command line and received an error?

dpsutton22:01:15

if so, to me it demonstrates that your project doesn't work so CIDER couldn't possibly start it up

ddellacosta22:01:47

weird since we've been running it in production for a while

ddellacosta22:01:53

anyways, thanks, will keep poking at it

dpsutton22:01:31

try running /nix/store/rdxrnh3w290hdc8gj4zmcbgg5b7q2iri-leiningen-2.9.1/bin/lein update-in :dependencies conj -- with-profile +cider,+test,+dev,+user repl :headless :host :: so that there's no CIDER anywhere

dpsutton22:01:42

er, get rid of the +cider