Hybrid View
-
4 Aug 2012 7:45 AM #1
Answered: Socket IO 0.8.7 Library not found
Answered: Socket IO 0.8.7 Library not found
I can't seem to find anywhere else that this issue has come up, and I'm lost as to how to resolve it.
Socket IO Library is missing?
EDIT: I lost myself in potential browser issues, since I'm on Chrome's dev build, only to find later that while my url path was accurate: "script scr" is NOT as it turns out, proper html.Code:- [COLOR=red !important]Uncaught SocketIoTransport needs the socket.io 0.8.7 client library to work, but that library was not found. Please include the library and try again. SocketIoTransport.js:55[/COLOR]
-
Best Answer Posted by jason.cline
Hello,
In app.json (a different file from app.js where your code is) there is a reference to socket.io.js it should look something like this:
Just make sure that patch matches the path to socket.io which we include with the sencha.io sdk download.Code:"js": [ { "path": "../lib/io/lib/socket.io.js" },
-
13 Aug 2012 12:33 PM #2
The examples included with the sencha.io sdk download use the touch microloader.
If app.json we include the path to socket.io:
we include a copy of socket.io in the lib folder of the SDK download.Code:"js": [ { "path": "../lib/io/lib/socket.io.js" },
if your application follows the examples it should be included for you automatically.
If you aren't using the micro loader then you just need to include lib/socket.io.js in your apps html page along with the other script includes.
-
22 Aug 2012 2:47 PM #3
I'm getting this error going through the todo app tutorial, and I'm not sure what I missed. I'm just hooking up io. I'm pretty nub on this, so I don't understand either of the post solutions.

Edit - I do have Microloader (from the copied sdk), and in app.js I have...
Ext.Loader.setPath({
'Ext': "./sdk/src",
'Ext.io': 'io/src/io',
'Ext.cf': 'io/src/cf'
});
-
22 Aug 2012 3:18 PM #4
Hello,
In app.json (a different file from app.js where your code is) there is a reference to socket.io.js it should look something like this:
Just make sure that patch matches the path to socket.io which we include with the sencha.io sdk download.Code:"js": [ { "path": "../lib/io/lib/socket.io.js" },


Reply With Quote