Open ronnac opened 3 years ago
Seems to be linked to this issue.
I haven't been able to set figwheel up on my Windows 10 machine so I can't say for sure, but I strongly suspect you are on the right lines that it is related to the forward-slash / backslash difference between Windows and *nix.
If you run the following you should see the full config for the dev build which figwheel uses:
lein trampoline run -m figwheel.main -pc -b dev
where -pc
is short for --print-config
, and I assume your build is defined in dev.cljs.edn
.
This gives some very useful information, and you should check the values of the keys :output-to
and :output-dir
.
The strange thing about what you have posted is the target\public\
appearing in the Githubissues.
I am trying to follow the tutorial and don't get the prompt when running the figwheel-main repl. A) with leiningen:
lein trampoline run -m figwheel.main
B) without leiningenclj -m figwheel.main
I get the same output:The browser automatically opens, but the green "connected" logo doesn't appear.
This is the output of the browser console:
This is an extract of the page source:
Part of the problem seems to come from the mix use of backslashes instead of forward slashes in the script paths.
I use git-sdk-64 as Linux replacement / bash environment. Sidenote: I am able to run a shadow-cljs hello-world with a cljs-repl in that environment.