Giter VIP home page Giter VIP logo

Comments (13)

bhauman avatar bhauman commented on May 21, 2024

Alrighty, that is because of the "fs" dependancy. I take a look at it.

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

Just fixed the "fs" dependency problem. But now it seems that figwheel is depending on too recent a version of ClojureScript for light table.
See: https://groups.google.com/forum/#!topic/light-table-discussion/X-Ij2rZFboQ.

This should be resolved shortly.

from lein-figwheel.

frankiesardo avatar frankiesardo commented on May 21, 2024

Thanks a lot 👍

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

I think I fixed this for Light Table users.

Try this for the dependancy:
[figwheel "0.1.2-2173-SNAPSHOT"]

Try this for the plugin
[lein-figwheel "0.1.2-2173-SNAPSHOT"]

from lein-figwheel.

frankiesardo avatar frankiesardo commented on May 21, 2024

I'm getting the same error.
Light Table version 0.6.5 and project.clj that looks like:

(defproject hello-world "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.6.0"]
                 [org.clojure/clojurescript "0.0-2202"]
                 [figwheel "0.1.2-2173-SNAPSHOT"]
                 [org.clojure/core.async "0.1.278.0-76b25b-alpha"]
                 [sablono "0.2.16"]
                 [om "0.6.2"]]

  :plugins [[lein-cljsbuild "1.0.3"]
            [lein-figwheel "0.1.2-2173-SNAPSHOT"]]

  :cljsbuild {
              :builds [{ :source-paths ["src"]
                         :compiler { :output-to "resources/public/js/compiled/hello_world.js"
                                     :output-dir "resources/public/js/compiled/out"
                                     :optimizations :none }}]}
  :figwheel {
             :http-server-root "public" ;; default and assumes "resources" 
             :server-port 3449 ;; default
             :css-dirs ["public/resources/css"] ;; watch and update CSS
             })

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

Did you make sure you did a lein clean?

The target directory in your project root directory needs to be removed.

So that you are using the new codebase.

from lein-figwheel.

frankiesardo avatar frankiesardo commented on May 21, 2024

Done that, and I also tried with a vanilla project. Still no luck. Are you able to connect to your projects with your version of Light Table?

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

I looked at your project.clj again and you need to have

[org.clojure/clojurescript "0.0-2173"] instead of [org.clojure/clojurescript "0.0-2202"]

and

[lein-cljsbuild "1.0.2"] instead of [lein-cljsbuild "1.0.3"]

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

But I am checking that right now.

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

Yep that works for me.

Man sorry this is such a pain. There was a breaking change in the cljs compiler after 2173 and its a bitch to bridge the gap.

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

Also you want to be using the Light Table UI connection.

from lein-figwheel.

frankiesardo avatar frankiesardo commented on May 21, 2024

Hehe, no worries that worked like a charm! 👍

from lein-figwheel.

bhauman avatar bhauman commented on May 21, 2024

Saweeeet!

from lein-figwheel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.