-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Dirac Error TypeError: Cannot read property '0' of null #45
Comments
This is still the same issue as #43. It still looks like something is calling btw. Looks like I forgot to enable |
This fixes a regression in 0.7.0 and 0.7.1 releases, as spotted in #45.
There are probably many places from where cljs.reader could be called. I'm afraid you will have to help me identify the exact call site which is causing this.
|
I have the same error. Here are more informations: It's called in the The given message is the following:
|
@Ninerian Hmm, that nREPL message looks like Cursive trying to communicate something to nREPL server and the message gets processed by Dirac middleware. Can you describe your workflow? This should not happen under normal circumstances. Also the problem is that this Cursive message contains some Clojure-isms, so At least I wrote more robust handling of this case in ws-client. |
Actually I start a figwheel dev environment, using a combination of dirac and the workflow, documented in the figwheel wiki. I start a Repl with the dev profile. After it's loaded, I load the repl.clj to start figwheel. Formerly I loaded the repl.js directly from the REPL profile, as in the wiki. But with dirac, I have to load the profile, which is not possible, when loading the repl through the JVM process. In the core namespace I initialize dirac with You may notice the commented part in the project.clj. This is my attempt to load figwheel and dirac directly. I had asked you about on the slack channel on Nov. 18. My project.clj:
And the repl.clj
|
@Ninerian I'm not able to parse and validate your project.clj in my head. It would be more helpful if you could create a sample project and give me a link to a git repo. Then I could go fork it and possibly fix it after testing the real thing on my machine. |
Original issue as reported by @njj fixed by 546f63b in v0.8.5. @Ninerian if you still have problems please open a separate bug report. Also this document might help: https://github.com/binaryage/dirac/blob/master/docs/about-repls.md#dirac--figwheel |
Recently updated to the newest version and I'm seeing this:
The text was updated successfully, but these errors were encountered: