After installing clojurescript as explained in the quickstart,

copying:


(ns nodehello
  (:require [cljs.nodejs :as nodejs]))
(defn -main [& args]
  (println (apply str (map [\ "world" "hello"] [2 0 1]))))
(nodejs/enable-util-print!)(set! *main-cli-fn* -main)

into nodehello.cljs and saving

and then running 

$ ./bin/cljsc nodehello.cljs '{:optimizations :advanced :target :nodejs}' > 
nodehello.js

gives me the error:

$ ./bin/cljsc nodehello.cljs '{:optimizations :advanced :target :nodejs}' > 
nodehello.js
Jul 31, 2014 10:50:09 AM com.google.javascript.jscomp.LoggerErrorManager println
SEVERE: cljs.nodejs:1: ERROR - namespace "cljs.nodejs" cannot be provided twice
goog.provide('cljs.nodejs');
^

Jul 31, 2014 10:50:09 AM com.google.javascript.jscomp.LoggerErrorManager 
printSummary
WARNING: 1 error(s), 0 warning(s)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to