Created
May 11, 2011 20:40
-
-
Save MattRix/967295 to your computer and use it in GitHub Desktop.
Error with Socket.io and Node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initializing client with transport "websocket" | |
node: ../src/node.cc:1210: ssize_t node::DecodeWrite(char*, size_t, v8::Handle<v8::Value>, node::encoding): Assertion `b[1] == 0' failed. |
Yep, the problem was that I was using the Node.js trunk, which had a bug in it. Using a tag (0.4.7) fixed the problem.
Thanks again for the reply! Appreciate it :) Only just getting started with node... still trying to work out the best way to structure an app rather than javascript file :/
…On May 12, 2011, at 3:59 PM, MattRix wrote:
Yep, the problem was that I was using the Node.js trunk, which had a bug in it. Using a tag (0.4.7) fixed the problem.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/967295
Any idea what the best way to upgrade an already installed version would be? just checkout the tag and then do make/make install again?
…On May 12, 2011, at 3:59 PM, MattRix wrote:
Yep, the problem was that I was using the Node.js trunk, which had a bug in it. Using a tag (0.4.7) fixed the problem.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/967295
yep, you can do a make uninstall first if you want, although I don't think it matters.
Hmm this is strange. It doesnt seem to have fixed the problem :/
12 May 21:43:21 - Initializing client with transport "websocket"
node: ../src/node.cc:1210: ssize_t node::DecodeWrite(char*, size_t, v8::Handlev8::Value, node::encoding): Assertion `b[1] == 0' failed.
Aborted
…On 12 May 2011, at 21:16, MattRix wrote:
yep, you can do a make uninstall first if you want, although I don't think it matters.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/967295
So you're sure you switched to 0.4.7, right? And then you have to recompile the whole thing again from there (./configure, make, make install).
Maybe you should do a make uninstall first, I guess. I think in my case I actually deleted the node folder and checked out everything from scratch.
Ah thats better! I just recloned, checked out the tag and then ran ./configure and make && make install and its all better now :)
…On 12 May 2011, at 22:48, MattRix wrote:
So you're sure you switched to 0.4.7, right? And then you have to recompile the whole thing again from there (./configure, make, make install).
Maybe you should do a make uninstall first, I guess. I think in my case I actually deleted the node folder and checked out everything from scratch.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/967295
Awesome! Glad it worked :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having the exact same problem? Did you find a solution? :)