GithubHelp home page GithubHelp logo

Comments (5)

BorisVSchmid avatar BorisVSchmid commented on May 27, 2024 2

A [edited - less horrible now] functioning workaround is as follows:

Download https://github.com/clojure/clojurescript/releases/tag/r3308, change the file src/main/clojure/cljs/source_map/base64_vlq.clj by adding a ":" before the "require" on the second line, and then install this fixed version of clojurescript in your local repository ("lein install" - make sure there isn't such a version in the repository already - it is located in your ".m2/repository/org/clojure/clojurescript" directory)

Then you can use your regular LightTable (no need for the development version), and it will work with the new 1.9 alpha's.

[the above works if it is just you that need clojure.spec to work - not if you expect others to be able to work with lighttable and your code, unless they apply the same workaround]

from clojure.

sbauer322 avatar sbauer322 commented on May 27, 2024

This is a good catch, but even with the fix to line 12 (see PR #92) I still get an error regarding spec. We have been keeping track of the trouble with using 1.9 in Light Table and believe the problem to be stemming from the low Clojurescript version used internally. We are in the process of updating it but it is a nasty task - see LightTable/LightTable#1973.

Sorry I don't have better news for the time being.

from clojure.

sbauer322 avatar sbauer322 commented on May 27, 2024

Thank you @BorisVSchmid - this is quite helpful in confirming the problem.

Though the workaround is not ideal, it is still something. It is appreciated!

from clojure.

BorisVSchmid avatar BorisVSchmid commented on May 27, 2024

Happy to help. Still like lighttable best as a clojure IDE, but was running into the spec limitation.

I guess one could deploy a fixed version of clojurescript 0.0-3308 to clojars (name it 0.0-3308B), and use that as a project dependency in the project.clj of lein-light-nrepl. Would that bring the clojure 1.9-alpha12+ to current lighttable users?

from clojure.

sbauer322 avatar sbauer322 commented on May 27, 2024

It may, but I suspect we will still encounter problems in other parts of Light Table until those parts run on a higher version of ClojureScript as well. Not positive, however.

from clojure.

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.