I'm trying to learn ClojureScript and I get this error when calling
require in the repljs REPL:
(I ran these commands after cloning the git repo last night and
running script/bootstrap)
./script/repljs
"Type: " :cljs/quit " to quit"
ClojureScript:cljs.user> (+ 1 1)
2
ClojureScript:cljs.user> (zero? 0)
true
ClojureScript:cljs.user> (require '[goog.string :as gstring])
"Error evaluating:" (require (quote [goog.string :as gstring])) :as
"cljs.user.require.call(null,(new cljs.core.Vector(null,
[\"?'goog.string\",\"?'as\",\"?'gstring\"])));\n"
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "call"
of undefined (<cljs repl>#3)
at <cljs repl>:3 (anonymous)
at <cljs repl>:3
nil
ClojureScript:cljs.user>
Thanks in advance.
-Fiel
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en