TypeError: Cannot call method 'pipe' of undefined
at /Users/damon/Workspace/base-api-client/node_modules/tape-run/node_modules/browser-run/index.js:91:55
at process._tickCallback (node.js:442:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:929:3
Encountered this with OS X, Node v0.10.36, NPM 2.14., PhantomJS 1.9.8. Occurs with default "electron" too.
It looks like the error is on line 91, where browser.setEncoding('utf8') doesn't return browser:
if (browser.pipe) browser.setEncoding('utf8').pipe(output);
Encountered this with OS X, Node v0.10.36, NPM 2.14., PhantomJS 1.9.8. Occurs with default "electron" too.
It looks like the error is on line 91, where
browser.setEncoding('utf8')
doesn't returnbrowser
: