Hi everybody,

I'm getting this error:

node s_call

Error: stream.push() after EOF
    at readableAddChunk (_stream_readable.js:146:15)
    at Readable.push (_stream_readable.js:127:10)
    at Request.querySelector [as _callback] (/home/ubuntu/s_call.js:27:8)
    at Request.self.callback 
(/home/ubuntu/node_modules/request/request.js:129:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous> 
(/home/ubuntu/node_modules/request/request.js:873:14)
    at Request.EventEmitter.emit (events.js:117:20)
    at IncomingMessage.<anonymous> 
(/home/ubuntu/node_modules/request/request.js:824:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16

node version: v.0.10.12

my snippet is:
var stream = require('stream');
var Readable = stream.Readable;
var rs = new Readable();

for (var i = 0; i < myArray.length; i++) {
  if (myArray[i] = some conditions) myArray.splice(i,1);
  rs.push('myArray[i]');
  rs.push(null);
  rs.pipe(process.stdout);
}


What do you suggest me to do?

Kind regards
Marco

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