Sorry. You don't need the formatters option.

On Mar 10, 8:04 am, jg <[email protected]> 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