Friday, 9 August 2013

http error after updating node.js to version 0.11.5

http error after updating node.js to version 0.11.5

I updated node.js on my laptop to newest version - 0.11.5-pre.
Unfortunately One of my apps stoped to work with this error:
node: ../src/tcp_wrap.cc:364: static void node::TCPWrap::Connect(const
v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[2]->Uint32Value()'
failed.
Neúspìšnì ukonèen (SIGABRT)
I extracted code what does this error:
var http = require('http');
var inputFile = "./pages.txt";
var request = http.get("http://www.google.cz", function(response) {
response.setEncoding('utf8');
response.on('data', function(response){
content += response;
});
response.on('end', function(){
});
});
I have really no idea how to solve this issue. Do you thing that it's
something easy to fix or should I downgrade back to version 0.10.4? (or
the latest where it works)

No comments:

Post a Comment