bsgbryan/Ardus — Issue #2: Error when running against Tap code
Author: bsgbryan
Created: 2012-01-16 16:18:45+00:00
State: open

# Overview

Currently, executing `node examples/tap.js` results in the following output:

```
node examples/tap.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object # has no method 'on'
at TapProducer. (stream.js:52:8)
at TapProducer.__profile__ (/Users/maynardb/Documents/Code/Ardus/lib/decorators/profiler.js:74:23)
at TapProducer.__profile__ [as pipe] (/Users/maynardb/Documents/Code/Ardus/lib/decorators/profiler.js:74:23)
at new GlobalHarness (/Users/maynardb/Documents/Code/Ardus/node_modules/tap/lib/tap-global-harness.js:21:15)
at Object. (/Users/maynardb/Documents/Code/Ardus/node_modules/tap/lib/main.js:8:28)
at Module._compile (module.js:432:26)
at Object..js (/Users/maynardb/Documents/Code/Ardus/lib/globals/profiler.js:8:12)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
```

# Action(s)

1. Figure out why this is happening
2. Fix it