This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-11
Channels
- # announcements (1)
- # aws (3)
- # beginners (48)
- # calva (2)
- # cider (47)
- # clj-kondo (1)
- # cljs-dev (23)
- # cljsrn (10)
- # clojure (81)
- # clojure-chicago (4)
- # clojure-europe (3)
- # clojure-greece (4)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (6)
- # clojure-sanfrancisco (1)
- # clojure-seattle (1)
- # clojure-uk (21)
- # clojurescript (40)
- # core-async (82)
- # cursive (18)
- # datomic (6)
- # duct (11)
- # figwheel-main (4)
- # fulcro (26)
- # jobs-discuss (22)
- # leiningen (18)
- # off-topic (10)
- # pathom (3)
- # re-frame (5)
- # reagent (16)
- # reitit (4)
- # shadow-cljs (8)
- # specter (7)
- # sql (16)
- # tools-deps (58)
- # xtdb (30)
Hm, requiring specter breaks dynamic font locking for me. Look at this https://i.imgur.com/1aW4sXr.png 😕
I removed all the code from the file, just keeping one call to a function in oskarkv.utils
to see if dynamic font locking works, then I tried removing a bunch of namespaces from the (:require ...)
declarations. If I remove any one of re-frame
, specter
or clojure.pprint
, dynamic font locking starts working, but not when removing the others.
My best guess as to what is going on is that it just becomes too much somehow, with many required namespaces. I checked with edebug in cider-refresh-dynamic-font-lock
and it doesn't seem like anything strange is happening. But of course the values of for example cider--dynamic-font-lock-keywords
are so big that it's hard to check what's going on exactly. Or maybe I should check in some other function instead.
Hello I have a newbie question for Jackin to cljs. I checked out the flappy bird repo with figwheel main, but cannot get the connection to the CLJS REPL right. When I start the Jackin command, it asks the usual questions and I choose lein -> fighweel-main -> :dev The log outputs the connection to localhost:63044 is established and the websites opens in the browser. But when I switch to the REPL from the core namespace, it tells me, that no cljs REPL for current session exists. Is there a fool proof example I could test on?
https://github.com/bhauman/flappy-bird-demo uses the classic figwheel https://github.com/bhauman/flappy-bird-demo-new uses newer figwheel-main Make sure you use the right one they can’t run each other’s project without changing the project configuration and dependencies
When it asks for the build name, try it without the colon. dev
instead of :dev
.
@danielgrosse https://github.com/oskarkv/cljsissues there is a small project that works for me
Thanks I'll try it
Hi there
Trying to install cider and I get this annoying error:
Error: Cannot open load file: No such file or directory, sesman-browser
What should I do?these steps have never failed me: https://docs.cider.mx/cider/basics/installation.html 🙂
I had a old version of cider
so I did
M-x package-delete <RET> cider <RET>
and then
M-x package-install <RET> cider <RET>
Are you sure package-delete
worked fine? If you have some packages depending on cider
(e.g., clj-refactor
), I don't think package.el
will let you completely remove cider
.
I also removed clj-refactor
How can I check that the package-delete worked fine
you could inspect the .emacs.d/elpa
directory and see if cider
and any of the packages depending on it (see "Needed by" here: https://melpa.org/#/cider) are still there.
Still there
it’s removed
no cider folder
and when I run M-x package-install <RET> cider <RET>
I see the error
Error: Cannot open load file: No such file or directory, sesman-browser
ok, then try refreshing the package archives with M-x package-list-packages
before installing cider
.
(see: https://docs.cider.mx/cider/basics/installation.html#_installation_via_package_el)
But still the same errror when installing cider
And now I have this folder: /.emacs.d/elpa/cider-20190708.1036
When I run cider-jack-in I get the same error
I'm a bit lost here, sorry. Can you try with a clean .emacs.d
? (backing up your original one, of course). The steps on the CIDER documentation always worked for me, so there is something else at play here.
It worked
sesman-browser
comes in with sesman
, which is a cider
dependency that gets automatically installed when you install cider
from MELPA. So it has to be there after the installation, that's why I don't understand the error you get.
Is there a way to store in a file the list of packages that I want to be installed?
You could just use Spacemacs. It uses layers to define what packages are needed for a major mode, along with any configuration http://spacemacs.org/ https://practicalli.github.io/spacemacs/
not sure, but you could do something like this: https://github.com/magnars/.emacs.d/blob/master/init.el#L71
Thanks for your help @manuel