Results 1 to 7 of 7

Thread: Ext.application is not a function in browser's console

  1. #1
    Sencha Premium User
    Join Date
    Apr 2016
    Posts
    1

    Default Ext.application is not a function in browser's console

    On a Linux machine:
    $ ext-gen
    Sencha ExtGen v6.7.0 Professional Edition - The Ext JS code generator
    $ node -v
    v11.11.0
    $ npm -v
    6.9.0
    $ java -version
    java version "1.8.0_172"


    $ ext-gen app -a MyApp

    $ cd my-app



    $ npm start

    The application starts in the browser but the console shows this error:
    Code:
    Uncaught TypeError: Ext.application is not a function
        at Object../app.js (main.js:96)
        at __webpack_require__ (main.js:20)
        at Object.0 (main.js:9577)
        at __webpack_require__ (main.js:20)
        at main.js:84
        at main.js:87

  2. #2
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    872
    Answers
    15

    Default

    I have this odd error too

    Windows PC
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Location
    Pretoria - South Africa
    Posts
    22
    Answers
    4

    Default

    Similar experience here, slightly different environment to OP, but also on Linux OS.

    Issue was first noticed after upgrade to v6.7.0 CE, not seeing the same for v.6.6.0 CE ext-gen'd apps.

    I get 3x the TypeError, then the app seems to carry on regardless, almost like something is trying to jump the gun on the boostrapping process, but then eventually runs.

    Code:
    Uncaught TypeError: Ext.application is not a function
        at Object../app.js (app.js:1)
        at __webpack_require__ (bootstrap:19)
        at Object.0 (log.js:47)
        at __webpack_require__ (bootstrap:19)
        at bootstrap:83
        at bootstrap:83
    Code:
    $ext-gen
    Sencha ExtGen v6.7.0 Community Edition - The Ext JS code generator
    $node -v
    v8.15.1
    $npm -v
    6.9.0
    $java -version
    java version "1.8.0_181"

  4. #4
    Sencha Premium User
    Join Date
    Apr 2010
    Posts
    8

    Default

    win 10
    java "1.8.0_202
    nodejs 11.14.0

    Code:
    main.js:96 Uncaught TypeError: Ext.application is not a function
        at Object../app.js (main.js:96)
        at __webpack_require__ (main.js:20)
        at Object.0 (main.js:9605)
        at __webpack_require__ (main.js:20)
        at main.js:84
        at main.js:87
    a month since the original posting and not a single word from sencha? c'mon chaps, you can do better than that...

  5. #5
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    872
    Answers
    15

    Default

    I guess next ext-gen release will fix it.

    https://github.com/sencha/ext-gen/pull/181
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

  6. #6
    Sencha - Sales Team
    Join Date
    Feb 2012
    Location
    Fort Myers, Florida
    Posts
    42

    Default

    correct, the fix will be in 6.7.1 - we are currently in testing of that version
    Marc Gusmano
    Sales Engineer
    Sencha Inc.

  7. #7
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    872
    Answers
    15

    Default

    Thank you Marc for updates.
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

Tags for this Thread

Posting Permissions

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