Comments (5)
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.
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.
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.
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.
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)
- Automatic recompilation and load of file-based namespace HOT 1
- Explicit error if building a cljs plugin failed
- dosync is not indented like do HOT 3
- Evaling a set form throws a "... java.lang.Long cannot be cast to java.lang.Integer" exception HOT 9
- Nothing is displayed when evaling a form that uses the quote reader macro HOT 1
- multiple REPL connections on new lighttable version HOT 9
- inline plot support HOT 7
- Eval into a cljs React Native project
- better error messages HOT 21
- Tagged literals break Instarepl HOT 1
- Inline evaluation (Ctrl+Enter) fails on custom tagged literals.
- Instarepl throws javascript error HOT 1
- add new functions' names to codemirror HOT 3
- Clojure/Clojurescript smart indent is always 4 spaces HOT 6
- consider making inline results with pprint HOT 1
- Nothing is displayed when eval-ing simple expressions
- Eval clojure in non supported File-types
- Add Proper Support for Boot
- java.net.MalformedURLException: unknown protocol: c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clojure.