1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    14
    Vote Rating
    0
    marcotuts is on a distinguished road

      0  

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


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

  2. 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:

    Code:
    "js": [
       {
          "path": "../lib/io/lib/socket.io.js"
       },
    Just make sure that patch matches the path to socket.io which we include with the sencha.io sdk download.

  3. #2
    Sencha - IO Dev Team
    Join Date
    Apr 2011
    Posts
    73
    Answers
    23
    Vote Rating
    4
    jason.cline is on a distinguished road

      0  

    Default


    The examples included with the sencha.io sdk download use the touch microloader.

    If app.json we include the path to socket.io:
    Code:
    "js": [
       {
          "path": "../lib/io/lib/socket.io.js"
       },
    we include a copy of socket.io in the lib folder of the SDK download.
    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.

  4. #3
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
    crazyjoemilan is on a distinguished road

      0  

    Default


    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'
    });

  5. #4
    Sencha - IO Dev Team
    Join Date
    Apr 2011
    Posts
    73
    Answers
    23
    Vote Rating
    4
    jason.cline is on a distinguished road

      0  

    Default


    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:

    Code:
    "js": [
       {
          "path": "../lib/io/lib/socket.io.js"
       },
    Just make sure that patch matches the path to socket.io which we include with the sencha.io sdk download.

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar