Thank jg, but now I moved my dev environment to Ubuntu linux and everything 
works fine for the moment. It seems Windows build of Nodejs isn't that good 
enough to work with.

On Saturday, March 10, 2012 10:04:45 PM UTC+8, jg wrote:
>
> I ran I tithe same issue. It turned out to be the dependence with 
> dtrace. I emailed the author of restify and he said he's got a version 
> where dtrace is ootion. It will require npm 1.1.5, which isn't out yet 
> though, 
> and when restify is published at 1.3.0 we should be able to install 
> via npm on windows. 
>
> I was able to install restify. Is nom by modifying the code base. 
> Here's what I did: 
>
> My app.js: 
>
> var server = restify.createServer({ 
>         name: "GI" 
>         , formatters: {"text/html": formatHTML} 
>         , dtrace: { 
>                 addProbe: function(){} 
>                 , enable: function(){return false;} 
>                 , fire: function(dtrace, name, req){} 
>         } 
> }); 
>
> I removed the dtrace depency in the package file and 
> var d = null; in index.js 
>
> Then reinstalled with npm. Seemed to work.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to