Fork me on GitHub
#chlorine-clover
<
2021-04-22
>
Edward Ciafardini20:04:23

Hello! I'm having an issue running planck on a localhost port & evaluating blocks in Atom.  I use planck -n 777 to start the REPL, then "Connect To Socket REPL" in Atom- I get a success message initially, but when I try to evaluate a block, I get an error.  Any ideas? (uploaded images follow the timeline of actions)

mauricio.szabo20:04:00

Hi, you're probably trying to evaluate ClojureScript inside a Clojure file. You can either change your filename to have a .cljs extension, or you can go into the config and change Should we evaluate Clojure or ClojureScript to cljs options

🙏 2
mauricio.szabo20:04:14

This will make everything ClojureScript by default @esciafardini

Edward Ciafardini21:04:20

Thank you, this worked

mauricio.szabo00:04:54

Nice, let me know if I can help with anything else :)

mauricio.szabo00:04:25

Also, let me know if you like the experience so far with Plank, I'm curious to know how people are using the self hosted CLJS solutions :)

Edward Ciafardini00:04:26

So far so good aside from my mistake. Super new to Clojure/Clojurescript, so I can't give a ton of feedback. Planck was recommended by a tutorial I was watching 😀