Results 1 to 6 of 6

Thread: Uncaught ReferenceError: io is not defined

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    3
    Vote Rating
    0
      0  

    Default Uncaught ReferenceError: io is not defined

    When using sencha Inspector Bookmarklet 6 with extjs 5 and try to connect I get the following error:


    Uncaught ReferenceError: io is not defined
    at f (inspector.js:1)
    at d (inspector.js:1)
    at Object.onLoadSuccess [as success] (ext-all-debug.js:11448)
    at Request.notify (ext-all-debug.js:1085)
    at Request.processLoadedEntries (ext-all-debug.js:1064)
    at Entry.notifyRequests (ext-all-debug.js:1534)
    at complete (ext-all-debug.js:1369)
    at HTMLScriptElement.<anonymous> (ext-all-debug.js:1372)

  2. #2
    Sencha - Product Team
    Join Date
    Apr 2015
    Posts
    81
    Answers
    19
    Vote Rating
    7
      0  

    Default

    Can you try with Chrome or Safari? Are you able to connect examples to Inspector?
    http://examples.sencha.com/extjs/5.1...ard/index.html

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    3
    Vote Rating
    0
      0  

    Default

    I have tried with Chrome, Firefox, and IE.
    How do I connect examples to Inspector? Do I put the address in the Advance Settings of Bookmarklet?
    I can not connect to the demo app.

  4. #4
    Sencha - Product Team
    Join Date
    Apr 2015
    Posts
    81
    Answers
    19
    Vote Rating
    7
      0  

    Default

    I assume you have bookmarklet created in Chrome. If not, follow steps in guide to create it
    http://docs.sencha.com/sencha_inspec...ia_bookmarklet
    Then load example in the browser. For e.g.
    http://examples.sencha.com/extjs/5.1...ard/index.html
    Click on the bookmarklet, the app entry should be now shown in Inspector and you can click to start inspecting example app.

    The Demo app will not work as it was using google feed APIs that is now not available.

  5. #5
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Ok, that worked, thanks. Now I have an application that is running on http://localhost:5000 in Chrome. When I do the same steps as I did for the example I get the "io is not defined". How do I connect http://localhost:5000 to the inspector?

  6. #6
    Sencha - Product Team
    Join Date
    Apr 2015
    Posts
    81
    Answers
    19
    Vote Rating
    7
      0  

    Default

    There may be scoping issue with socketio. I have opened a bug INS-383 in our bug tracker.


    The workaround is to find the dependency(s) in your app, and remove the conflict somehow. This will be different depending on the dependency causing the conflict.

Similar Threads

  1. Uncaught ReferenceError: me is not defined
    By marc.fearby in forum Sencha Architect 4.x: Q&A
    Replies: 2
    Last Post: 18 Sep 2016, 2:42 PM
  2. Uncaught ReferenceError: Ext is not defined
    By mlotfi in forum Ext: Q&A
    Replies: 10
    Last Post: 7 May 2014, 1:01 AM
  3. Uncaught ReferenceError: clearTimeout is not defined
    By kkitamura in forum Sencha Architect 3.x: Bugs
    Replies: 5
    Last Post: 17 Dec 2013, 12:28 PM
  4. [FIXED] Uncaught ReferenceError: Ext is not defined
    By HugoTrigo in forum Sencha Architect 2.x: Bugs
    Replies: 13
    Last Post: 22 Apr 2013, 9:48 AM
  5. Uncaught ReferenceError: Ext is not defined
    By HugoTrigo in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 17 Apr 2013, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •