Results 1 to 7 of 7

Thread: chrome 43 overrides - circular reference when in cmd build

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2013
    Location
    Insch, Aberdeenshire, Scotland
    Posts
    25

    Default chrome 43 overrides - circular reference when in cmd build

    I'm trying to use the overrides posted in the announcement regarding chrome 43 however when I try to build a production version I'm getting a circular reference warning and the app fails to launch (no errors in log or browser as far as i can see).

    If I use the code from here it works without the circular reference error... any ideas

    CMD(5.1.4.61
    ) error:

    Code:
    C1009: Circular reference in requirements chain (\app\touch\src\event\publisher\ElementPaint.js ->
    \app\app.js:293 [Auto] ->
    \app\touch\src\event\publisher\ElementSize.js ->
    
    \app\app.js) -- unknown-file:-1

  2. #2
    Sencha User
    Join Date
    May 2015
    Posts
    7

    Default

    I'm having the same issue:

    Code:
    [WRN] C1009: Circular reference in requirements chain (
    /[path]/touch/src/ActionSheet.js:34 [ClassExtend] ->
    /[path]/touch/src/Sheet.js:8 [ClassExtend] ->
    /[path]/touch/src/Panel.js ->
    /[path]/app.js:15 [ApplicationAutoDependency] ->
    /[path]/touch/src/app/Application.js ->
    /[path]/app.js
    ) -- unknown-file:-1
    [WRN] C1009: Circular reference in requirements chain (
    /[path]/touch/src/ActionSheet.js:34 [ClassExtend] ->
    /[path]/touch/src/Sheet.js:8 [ClassExtend] ->
    /[path]/touch/src/Panel.js ->
    /[path]/app.js:290 [Auto] ->
    /[path]/touch/src/event/publisher/ElementPaint.js ->
    /[path]/app.js
    ) -- unknown-file:-1
    [WRN] C1009: Circular reference in requirements chain (
    /[path]/touch/src/ActionSheet.js:34 [ClassExtend] ->
    /[path]/touch/src/Sheet.js:8 [ClassExtend] ->
    /[path]/touch/src/Panel.js ->
    /[path]/app.js:293 [Auto] ->
    /[path]/touch/src/event/publisher/ElementSize.js ->
    /[path]/app.js
    ) -- unknown-file:-1
    This is my first Sencha Touch app, I really need some guidance with this!

    EDIT:

    I think I fixed the original issue with this:

    Code:
    Ext.application({
        requires: [
            'Ext.util.SizeMonitor',
            'Ext.util.PaintMonitor'
        ],
    
        // ...
    
    });
    I'm still getting the first warning for a circular dependency on touch/src/app/Application.js though... I think it's what's causing my app.js to be empty when compiled...

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Do you see this issue with a stable version of Cmd (e.g. 5.1.3) as well? Which version of Touch?

  4. #4
    Sencha User
    Join Date
    May 2015
    Posts
    7

    Default

    I am using 5.1.3 and Touch 2.4.1. I found that adding the two classes overridden in the Chrome 43 fix got rid of some, but not all, of the circular reference warnings.
    Last edited by cr0ybot; 28 May 2015 at 6:56 PM. Reason: misunderstood question

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    What are you typing at the command line when you build?

  6. #6
    Sencha User
    Join Date
    May 2015
    Posts
    7

    Default

    "sencha app build testing" (with sudo, on Mac)

    I'm actually no longer seeing this; I was having some other (related?) issues that I resolved in this thread. Looks like some unrelated code (desktop-friendly scrolling) was causing this issue. I was using it incorrectly anyways; I put it in it's own controller file and everything worked out.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Oh nice, glad you've gotten past this. Thanks posting a follow-up here.

Similar Threads

  1. Cmd 5 StaticReference Circular Reference
    By troseberry in forum Sencha Cmd
    Replies: 2
    Last Post: 15 Jul 2014, 7:03 AM
  2. [FIXED] Theming Circular Reference
    By Cybjorg in forum Sencha Architect 3.x: Bugs
    Replies: 3
    Last Post: 5 Dec 2013, 8:11 AM
  3. error circular extends reference
    By maneljn in forum Sencha Cmd
    Replies: 0
    Last Post: 5 Nov 2012, 8:02 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
  •