Hi, I'm trying to use clojurescript with node.js repl.
I have cljs 2913 and piggieback 0.1.6-SNAPSHOT. When I try to evaluate my namespace, I'm getting this error: ExceptionInfo TypeError: Cannot read property 'require' of undefined Basically, the namespace cljs.nodejs seems to be nil and thus I can't require any node.js modules. I can, however, get require by doing (js* "require"). But then repl specific code would be different from the cljsbuild code. Here's what the namespace looks like: (ns asdf.core (:require [cljs.nodejs :as node])) (def express (node/require "express")) Am I doing something simple wrong? -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.