bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
684 stars 37 forks source link

rebel-readline-cljs not starting when following figwheel-main tutorial instructions #196

Closed pvaibhav closed 5 years ago

pvaibhav commented 5 years ago

I followed the instructions here and added rebel-readline-cljs to the deps.edn file, but when starting the REPL with clojure -m figwheel.main the line [Rebel readline] Type :repl/help for online help info doesn't appear before the REPL prompt. Same with clj.

When I use the following command clj -Sdeps '{:deps {com.bhauman/rebel-readline {:mvn/version "0.1.4"}}}' -m rebel-readline.main, it works.

My setup:

Contents of deps.edn:

{:deps  {com.bhauman/figwheel-main {:mvn/version "0.2.3"}}
         com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
pvaibhav commented 5 years ago

The problem was with my deps.edn file, the closing braces were not balanced. It should've been:

{:deps  {com.bhauman/figwheel-main {:mvn/version "0.2.3"}
         com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}}