BufferedNodeProcess throwing an error


When I try to run the following code in my package:

path = atom.project.getPath()
stdout = (line) -> console.log(line)
stderr = (line) -> console.log(line)
exit = (code) -> console.log("The process exited with code: #{code}")
path = atom.project.getPath()
BufferedNodeProcess '/usr/local/lib/node_modules/meteorite/bin/mrt.js add iron-router', {cwd: path}, stdout, stderr, exit

I’m getting the following error:

Uncaught TypeError: Cannot call method 'unshift' of undefined /Users/scotty/Downloads/Atom.app/Contents/Resources/app/src/buffered-node-process.js:26


Duplicate of …

closed #3