Closed simax closed 8 years ago
I'm pretty sure you shouldn't have [lein-figwheel "0.3.7"]
in your plugins. The guide says you need to remove that.
Thanks, I've tried all sorts of combinations. Having [lein-figwheel "0.3.7"]
in the plugins section allows scenario 2 to work, which is what I'm currently having to do. If I remove it however, I still get Page not found when trying to execute scenario 1. So no luck I'm afraid.
I think this can be closed, linked instructions works well.
Closing for now, reopen if this is still an issue.
I'm having an issue starting a Cursive REPL with FigWheel and my project. The project is ClojureScript front-end with a Clojure back-end.
I've tried the following scenarios:-
Scenario 1
Following the instructions here: https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL
I created a REPL in IntelliJ by doing the following:
When I click the 'Run' REPL I see the following output:
If I then browse to
http://localhost:3449
I simply get a Page Not Found error and the REPL prompt never appears.Scenario 2
If I simply run
lein figwheel
from the terminal without creating and running a Cursive REPL. I see the same output as above but when I browse tohttp://localhost:3449
my app appears correctly and the REPL prompt appears.Scenario 3
If I create an empty FigWheel project with
lein new figwheel my-app
and create a REPL as described in Scenario 1 then browse tohttp://localhost:3449
my app appears correctly and the REPL prompt appears.My question is How can I get Scenario 1 to work?
I notice I'm also getting the following warning:
Not sure if this is related or not - its only a warning and it doesn't prevent Scenario 2 and Scenario 3 from working. I've tried to add
refer-clojure
clauses in the variousns
calls, Maybe I've missed one.This is my Project.clj file