This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-14
Channels
- # announcements (1)
- # beginners (206)
- # calva (2)
- # cider (64)
- # cljs-dev (12)
- # clojars (2)
- # clojure (177)
- # clojure-europe (2)
- # clojure-finland (1)
- # clojure-italy (2)
- # clojure-losangeles (5)
- # clojure-nl (7)
- # clojure-russia (69)
- # clojure-spec (41)
- # clojure-uk (92)
- # clojurescript (60)
- # core-async (16)
- # cursive (48)
- # data-science (6)
- # datomic (73)
- # duct (5)
- # events (2)
- # figwheel-main (5)
- # fulcro (29)
- # hoplon (1)
- # off-topic (52)
- # pathom (11)
- # reagent (4)
- # reitit (5)
- # remote-jobs (1)
- # rum (7)
- # shadow-cljs (58)
- # slack-help (10)
- # spacemacs (3)
- # testing (3)
- # tools-deps (5)
yes, and on a whole different OS/installation. Same thing
can't get that far
connection fails from cider-connect-cljs
When it says this, how are you specifying the cider nrepl version?I haven't had to specify a version ever. Certainly not since v12
@vigilancetech i'm removing all references to cider-nrepl from the project and letting my version of CIDER set itself up. On both linux and fedora i'm able to start both client and electron builds. I'm not sure what issue you are having but i would probably look at reinstalling things at this point?
@dpsutton if I take that out I get: helm-M-x: ‘cider-connect-cljs’ requires the nREPL op "classpath" (provided by cider-nrepl)
[nREPL] Starting server via /usr/local/bin/npx shadow-cljs -d nrepl:0.6.0 -d cider/piggieback:0.4.0 -d cider/cider-nrepl:0.21.0 server
this is what my invocation looks like. can you see what CIDER is doing to crank up the project?
it is in the *Messages*
buffer. (if you're not familiar. the experience levels are sometimes absolute beginner and sometimes emacs guru so its hard to talk on the right level at first :)
that's what was in my messages buffer
and no cider buffer was created
I have no nrepl dep any more in the
in the shadow-cljs.edn file
cider-nrepl needs it. CIDER takes care to inject piggieback, nrepl, and cider-nrepl for you
okay, this is really strange. I'm not finding .m2/ anywhere. I'm on msys2
yeah, gonna take me a few mins to figure out where this cache is
no worries. just making sure it is definitely the OS weirdness and not anything trivial before we jump into that
I can't find that command in messages or anything like it. I'm using cider-connect-cljs not any kind of jack-in
I've never had any luck with jack in
I just do shadow-cljs watch electron client
/usr/local/bin/npx shadow-cljs -d nrepl:0.6.0 -d cider/piggieback:0.4.0 -d cider/cider-nrepl:0.21.0 server
so I need to add those -d deps on my command line?
those deps need to be there: piggieback, nrepl and cider-nrepl. CIDER does it automatically for you. if you want to start it yourself make sure those are there
can't they be put in shadow-cljs.edn?
at the risk of adding more deps that non-cider users will have. if that's fine go for it.
yeah, I'm going to run the production version thru the closure compiler anyway
yeah, no I mentioned it above. I've never been able to get any jack-in to work at all. Not sure why
not sure. my guess would be your many OSes under one roof situation going on. you're doing cygwin stuff is that right?
anyways sorry to waste your time. if you throw those deps in there it should startup just fine
not really. I have a c# server that has to run under windows so I'm using msys to develop a hoplon front in for it on.
Just so I don't have to have two machines running at the same time (or some kind of VM)
but, initially at least, its going to be an electron app
i enjoyed my C# years. yeah that makes sense. and windows apps do not make it easy to just throw them on a box or a virtualized thing
Well, fortunately I didn't write the c# and I don't plan on touching it (I got someone else for that).
I will say I'm kind of having fun and being amazed how much msys2 tricks me into thinking I'm developing in a Unix environment. If you get it set up just right that is.
next time I might try WSL but this just came together quicker
@dpsutton that seems to have fixed it somewhat, but I'm getting this:
WARNING: No Clojure project was detected. The
refactor-nrepl middleware was not enabled.
(I turned that refactor-nrepl dep back on)
Not sure how cljs compatible refactor is and perhaps it doesn't "speak" shadow. I have no idea
ok, thanks for all your help!
yeah, gotcha. Considering there's a variable to suppress the message, I guess its one of those "YMMV w/cljs" packages.
just FYI, I found this with latest cider-nrepl
and shadow-cljs
: https://github.com/clojure-emacs/cider-nrepl/issues/596