Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: SA 3.1: Uncaught SyntaxError: Unexpected token < index.html:1

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    151
    Answers
    3

    Default SA 3.1: Uncaught SyntaxError: Unexpected token < index.html:1

    I got this error an hour ago and I can't for my life figure of what's triggering it.

    The page starts loading and then hangs, no graphics is rendered.

    Code:
    2
    
    • [COLOR=red !important]Uncaught SyntaxError: Unexpected token < bootstrap.js:1413
      • [COLOR=red !important]Ext.globalEval[/COLOR]bootstrap.js:1413
      • [COLOR=red !important]Ext.Boot.Entry.inject[/COLOR]bootstrap.js:1186
      • [COLOR=red !important]Ext.Boot.Entry.evaluateContent[/COLOR]bootstrap.js:1283
      • [COLOR=red !important]Ext.Boot.Entry.evaluate[/COLOR]bootstrap.js:1299
      • [COLOR=red !important]Ext.Boot.Request.processLoadedEntries[/COLOR]bootstrap.js:885
      • [COLOR=red !important]Ext.Boot.Entry.notifyRequests[/COLOR]bootstrap.js:1351
      • [COLOR=red !important]me.fetch.complete[/COLOR]bootstrap.js:1265
      • [COLOR=red !important]readyStateChange[/COLOR]bootstrap.js:1044
    [/COLOR]

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488
    Answers
    74

    Default

    Sounds like a merge issue.

    Search for <<
    Aaron Conran
    @aconran

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    151
    Answers
    3

    Default

    Couldn't find anything that indicated a merge error and if it were due to a merge issue it would have come up when I converted from 4.2 to 5.0? Which worked pretty ok.Any other suggestions?I would be nice to no bin 1 weeks work...

  4. #4
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925
    Answers
    66

    Default

    Make a copy of the bootstrap.js file and save it off somewhere. After that, try just deleting it and saving the project again.
    Jason Minnick
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    May 2010
    Posts
    151
    Answers
    3

    Default

    Thank you for your suggestion, but unfortunately the problem remains.
    This is what it says.

    Screen Shot 2014-08-13 at 21.06.38.png

    Screen Shot 2014-08-13 at 21.07.12.png

  6. #6
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925
    Answers
    66

    Default

    Are you seeing any Cmd errors in the Output tab after you save?
    Jason Minnick
    Sencha Architect Development Team

  7. #7

  8. #8
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925
    Answers
    66

    Default

    look in your app.json file for the merge conflict
    Jason Minnick
    Sencha Architect Development Team

  9. #9
    Sencha User
    Join Date
    May 2010
    Posts
    151
    Answers
    3

    Default

    Not that I know exactly how it should look, but I can't see any obvious issues in it?

    Code:
    {
       "name": "Archive",
       "requires": [
          "sencha-charts"
       ],
       "id": "86e9c22a-1aa9-4247-a78c-7154bb43b973",
       "resources": [],
       "theme": "ext-theme-crisp-4799f4ab-34d1-45c2-8cfa-a5c0135dbff2"
    }

  10. #10
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925
    Answers
    66

    Default

    Quote Originally Posted by ZyBeR View Post
    Code:
    {
       "name": "Archive",
       "requires": [
          "sencha-charts"
       ],
       "id": "86e9c22a-1aa9-4247-a78c-7154bb43b973",
       "resources": [],
       "theme": "ext-theme-crisp-4799f4ab-34d1-45c2-8cfa-a5c0135dbff2"
    }
    bootstrap.json and app.json.meta are both free of << as well?
    Jason Minnick
    Sencha Architect Development Team

Page 1 of 2 12 LastLast

Posting Permissions

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