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
Weasel isn't working in this project #33
Comments
Weasel 0.4.1 only supports Clojurescript 2311 and newer. Can you see if the project works with weasel 0.3.0, or if you can update the Clojurescript dependency? It seems wrong that Maven/Leiningen is allowing |
@tomjakubowski I don't understand what you say. The cljs version is set to 2342: https://github.com/borkdude/todo-cljs/blob/master/project.clj#L9 |
Oh gosh, sorry about that. I didn't realize that was a released version when I wrote the hack to make Weasel work with 2311. I'll push out a 0.4.2-SNAPSHOT in a bit which should support 2342. |
@tomjakubowski I could downgrade to 2311 if that fixes the problem? |
Okay, I've pushed out |
2311 worked. Now I'll try 2342. |
Works. One question left: Why does (in-ns 'todo-cljs.todos), (add-todo "foo") throw me an error, but (ns todo-cljs.todos), (add-todo "foo") doesn't? I've had this with other browser REPLs as well. The error I'm seeing is: "Error evaluating:" (add-todo "foo") :as ".add_todo.call(null,"foo");\n" |
There are a couple problems with namespaces at the REPL right now. |
Thanks. I'll close this issue. |
Thanks for reporting! And sorry about the version numbering confusion. |
BTW there is now a |
I tried enhancing this todo-mvc project with a weasel repl:
https://github.com/borkdude/todo-cljs
To start the weasel repl you can type lein repl followed by (brepl).
To build the cljs part of the project, type lein cljsbuild once dev
When opening in the browser I get a connection refused on port 9005, even though weasel prints it is running on port 9005.
Hopefully someone can take a look at this. Thanks in advance!
The text was updated successfully, but these errors were encountered: