Uncaught ReferenceError: io is not defined
(anonymous function) socket.io.js:463
Uncaught ReferenceError: io is not defined
zappa.run.root_locals.connect zappa.js:1
(anonymous function) :3
anonymous :17
zappa.run zappa.js:1
(anonymous function) index.js:1
Switching the order of those two scripts resolves the error. Any idea why this is happening?
I'm not even sure if this is a zappa bug, but it certainly caught me off guard. I hit problems when I included jquery before socket.io like so:
That causes the following in the browser console:
Switching the order of those two scripts resolves the error. Any idea why this is happening?