luminus-framework / luminus-framework/luminus

Error thrown on new cljs REPL in fresh project

Open
#201 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
626
Forks
122
PR merge metrics
No merged PRs in 30d

Description

Hi,

If I create a luminus project with the +cljs option, as soon as I open clj & cljs REPLs, I get an error thrown (pasted below).

It looks like this is maybe an issue with cljs 1.9.946, as suggested [here](https://groups.google.com/forum/#!topic/clojure/dSrlFNdfIFE) and [here](https://clojurians-log.clojureverse.org/lein-figwheel/2017-10-04.html). Adding an explicit dependency on tools.reader 1.1.0 to the project.clj of the created project eliminates the error. Dropping the cljs version to 1.9.908 also prevents it.

This isn't in my way at all (I was just creating a luminus project to test out another project), just wanted to let you know. Also, despite the error, at least basic functionality (eg `(+ 1 1)`) continues to work in both clj and cljs repl, so I don't know whether it's actually breaking anything.

```1. Unhandled clojure.lang.ExceptionInfo
No reader function for tag Inf
{:type :reader-exception,
:line 988,
:column 14,
:file
"file:/home/egg/.m2/repository/org/clojure/clojurescript/1.9.946/clojurescript-1.9.946.jar!/cljs/core.cljs"}

core.clj: 4617 clojure.core/ex-info
core.clj: 4617 clojure.core/ex-info
reader_types.clj: 391 clojure.tools.reader.reader-types/reader-error
reader_types.clj: 387 clojure.tools.reader.reader-types/reader-error
RestFn.java: 439 clojure.lang.RestFn/invoke
reader.clj: 824 clojure.tools.reader/read-tagged
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Generate a fresh Luminus project with the +cljs option and open the Clojure and ClojureScript REPLs to reproduce the reader error. Inspect the generated project.clj and the ClojureScript 1.9.946 and tools.reader dependency versions; done means the REPLs start without the reported error while basic expressions continue to work.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.