Thanks Jose !  Didn't know it was a wrapper function!  It works now !

Br,
Mattias

On Sunday, August 11, 2013 1:29:00 PM UTC+2, Jose Luis Rivas wrote:
>
> On 8/11/13 3:55 AM, Mattias Larsson wrote: 
> > Hi, 
> > 
> > When I'm running this example script I get "undefined"...  What could be 
> > the problem?  I have installed the npm package traceroute. 
> > 
> > |traceroute = require('traceroute'); 
> > traceroute.trace('google.com', function (err,hops) { 
> >   if (!err) console.log(hops); 
> > });| 
> > 
> > 
> > Copied from https://npmjs.org/package/traceroute 
>
> It's working for me. Do you have traceroute installed? This is just a 
> wrapper around the terminal utility traceroute. 
>
>
> -- 
> Jose Luis Rivas 
> http://joseluisrivas.net/ 
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to