Closed xistory closed 5 years ago
I'm on CIDER 0.21.0-snapshot and I'm doing:
lein new luminus myapp +re-frame +postgres
and then m-x cider-jack-in-clj&cljs
and things seem to work out for me.
~I'm not sure how to actually get the web server up and running but I'm not getting any nrepl errors on the repl.~
I need to hit port 3000 for the app, not 3449 which is the fig wheel port
I know this doesn't seem to help you in your current situation but the good news is that the bug seems to be fixed.
The problem is with your nrepl
dependency.
[nrepl "0.5.3"]
should be [nrepl "0.6.0"]
or higher.
I guess we can close this.
I don't know whether updating the nrepl dependency fixed the OP's problem, but I tried this luminus example with [nrepl "0.6.0"]
and got the same CIDER requires cider-nrepl to be fully functional...
.
The solution for me was m-x cider-jack-in-clj&cljs
as dpsutton suggests above. If you m-x cider-connect
, you get the message.
I'm getting this warning, and I don't have any nrepl dependencies. Any ideas?
@fdhenard How are you starting CIDER?
Yes, I should have mentioned that. I'm using cider-connect to connect to a shadow-cljs nrepl port.
On Thu, Sep 24, 2020, 12:58 AM Bozhidar Batsov notifications@github.com wrote:
@fdhenard https://github.com/fdhenard How are you starting CIDER?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/clojure-emacs/cider-nrepl/issues/597#issuecomment-698130755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGYB3EPHJEB4KXENJ53LZLSHLNYFANCNFSM4GXVLXRA .
I'm guessing you didn't add cider-nrepl
to your project deps, as that'd be the most logical explanation.
Ah, I guess I thought that we didn't need to add that dependency to our projects anymore because we don't get that warning with the Clojure repl. Sorry if that's spelled out in the documentation and I neglected to look for it! Thanks for your help, and I love Cider!
cider-nrepl
is automatically added to the deps when doing cider-jack-in
, but when using cider-connect
you need to add it yourselves.
I see, thanks!
Use the template below when reporting bugs. Please, make sure that you're running the latest stable release or the latest snapshot of
cider-nrepl
and that the problem you're reporting hasn't been reported (and potentially fixed) already.Expected behavior
cider-nrepl
is well added to my project so I can use<M-.>
key to jump to the source code.Actual behavior
I get this warning messages when I run
M-x cider-connect localhost 7002
:Steps to reproduce the problem
First to create project:
lein new luminus myapp +re-frame +postgres
(you might use other DB to easily migrate) and then database migration should be done. after that:lein run
lein figwheel
then in emacs:
M-x cider-connect localhost 7002
now I got this warning messages described above in repl.
Environment & Version information
here is my
project.clj
file:and here is my
profiles.clj
file located~/.lein/
cider-nrepl version
0.20.0
to match with cider version because I usecider 0.20.0
which is Melpa-stable version.Java version
openjdk version 1.8
Operating system
Lubuntu linux