peteclark82 / cuke-tree

A hierarchical Cucumber test report generator and IDE for node.js
MIT License
12 stars 4 forks source link

Not working with node.js 0.10.x #1

Closed simondean closed 11 years ago

simondean commented 11 years ago

cuke-tree uses process.cwd as a property rather than a function. This seems to work in earlier versions of node.js but no longer works with node.js 0.10.x

simondean commented 11 years ago

On node.js 0.10.x, cuke-tree also outputs the following line many times...

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

...and then crashes with...

RangeError: Maximum call stack size exceeded
simondean commented 11 years ago

Starting the cuke-tree IDE produces the following error under node 0.10

Starting the cuke-tree IDE produces the following error under node 0.10

```shell
http.js:704
    throw new Error('Can\'t set headers after they are sent.');
          ^
Error: Can't set headers after they are sent.
    at ServerResponse.OutgoingMessage.setHeader (http.js:704:11)
    at ServerResponse.res.setHeader (...\cuke-tree\node_modules\express\node_modules\connect\lib\patch.js:62:20)
    at ...\cuke-tree\lib\extensions\test_suite\server\webServer.js:107:16
    at ...\cuke-tree\lib\assets\clientAssetManager.js:79:41
    at ...\cuke-tree\node_modules\fluid\lib\fluid.js:67:5
    at ...\cuke-tree\node_modules\async\lib\async.js:116:25
    at ...\cuke-tree\node_modules\fluid\lib\fluid.js:59:7
    at ...\cuke-tree\node_modules\async\lib\async.js:190:13
    at ...\cuke-tree\node_modules\async\lib\async.js:116:25
    at ...\cuke-tree\node_modules\async\lib\async.js:187:17