Uncaught Error: Cannot find module 'buffer'
Uncaught Error: Cannot find module 'buffer'
That's pretty broad. Maybe you can give us a stack trace? Did you do "npm install"?
This happens if you use "socket.io.js" and "engine.io.js" from Github, rather than from the CDN.
Likely you failed to run npm install. Still would need way more info about what you have tried already and what specific was failing/when/what versions etc.
We're using the engine.io.js and socket.io.js built files from Github, as I mentioned. As far as I'm aware, these are compiled for us so we can include them with <script> tags. I have tried using them in a script tag, and the original posters error message appears in my console, preventing me from using the library. If there's more information I'm happy to provide it, but you need to tell me what you want to know.
Ditto. Latest client file off github fails. I scraped the one served by the server at /socket.io/socket.io.js and that seems to work.
Same here - the client provided does not work.
I was having the exact same problem here, using the version from the 1.0.5 commit it works. In my case the 1.0.5 still fits well.
Can this be fixed in the repository or at least remove the link to the broken client from the download page?
+1
+1