Skip to content

Figwheel does not connect to browser #332

@nakiya

Description

@nakiya

I'm following the steps here: https://figwheel.org/docs/create_a_build.html

I have just changed the project name and some lib versions only. project.cj:

(defproject testcljs "0.1.0-SNAPSHOT"
  :description "FIXME: write this!"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}

  :dependencies [[org.clojure/clojure "1.9.0"]
                 [org.clojure/data.json "2.4.0"]]

  :profiles
  {:dev
   {:dependencies [[org.clojure/clojurescript "1.11.54"]
                   [com.bhauman/figwheel-main "0.1.9"]
                   [org.clojure/data.json "2.4.0"]]
    :resource-paths ["target"]
    :clean-targets ^{:protect false} ["target"]}}

  :aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]})

When I do lein fig -- -b dev -r, figwheel does not connet to browser and it hangs here:

2022-06-03 10:52:05.120:INFO::main: Logging initialized @15600ms Opening URL http://localhost:9500

I can't upgrade the libs because I'm in corporate net and the local maven repo has only up to these versions of libs. (Clojure 1.10 is available)

Not sure if this has to do with some security settings. I'm on windows 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions