I'm experimenting with the latest build of ClojureScript from github on 
Windows.  I can get as far as compiling nodehello.cljs from the Quick Start 
guide, but I get the following error when trying to run the compiled .js 
file with Node:

node.js:195
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
GetConsoleTitleW: The access code is invalid.
TypeError: Cannot read property 'prototype' of undefined
    at Object.<anonymous> (C:\clojurescript\nodehello.js:13:382)
    at Module._compile (module.js:420:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:335:31)
    at Function._load (module.js:294:12)
    at Array.<anonymous> (module.js:479:10)
    at EventEmitter._tickCallback (node.js:187:26)

I get that error with both 0.5.2 and 0.5.1 binaries from nodejs.org/dist/, 
and a similar error with the 0.4.9 and 0.4.8 binaries 
from node-js.prcn.co.cc/:

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
WideCharToMultiByte: The data area passed to a system call is too small.
TypeError: Cannot read property 'prototype' of undefined
    at Object.<anonymous> (/cygdrive/c/clojurescript/nodehello.js:13:382)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)
    at Module.load (module.js:334:31)
    at Function._load (module.js:293:12)
    at Array.<anonymous> (module.js:421:10)
    at EventEmitter._tickCallback (node.js:126:26)

Has anyone had success with ClojureScript + Node.js, on Windows or 
otherwise?

-- 
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

Reply via email to