Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Sample doesn't work with Express 4.0 #1

Open
coolbnjmn opened this issue Apr 24, 2014 · 0 comments
Open

Sample doesn't work with Express 4.0 #1

coolbnjmn opened this issue Apr 24, 2014 · 0 comments

Comments

@coolbnjmn
Copy link

Hi,

So I'm trying to build an Express 4.0 app that uses socket.io chat, and I've been running into a lot of issues. I run this nodejs web app through heroku, so I thought this tutorial would be perfect, but when copying the exact code with my dependencies, it of course breaks and I get an error on the client side:
Uncaught ReferenceError: require is not defined socket.io.js:12
Uncaught ReferenceError: io is not defined chat2:2

I've searched far and wide on Stack Overflow and I can't seem to find an answer to these issues. Any suggestions?

There is more detail on my stack overflow question following this same issue: http://stackoverflow.com/questions/23274918/heroku-socket-io-sample-error-in-express-4-0

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant