Probably the browser (for some reason) did not fetch the socket.io.js
file, so the global variable "io" does not exist.

Make sure the server returns the file, and the client can talk to the
server.

danmilon.

On 11/01/2012 11:12 PM, _Kili_ wrote:
> Hi,
> I am beginner with node.js and just trying to make socket.io work with
> this guide http://socket.io/#how-to-use (the first example).
> I am just getting "Uncaught ReferenceError: io is not defined" in the
> java script console of the Chrome.
> Could someone help me?
> 
> -- 
> 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

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

Reply via email to