Results 1 to 3 of 3

Thread: Error building application - ClassRequire

  1. #1
    Sencha User
    Join Date
    Jul 2013
    Posts
    2

    Default Error building application - ClassRequire

    Hi,
    I'm having a problem with sencha cmd app watch; Below the error:

    [ERR] com.sencha.exceptions.ExBuild: Failed to find any files for path\to\view\Form.js::ClassRequire::Ext.ux.form.MultiSelect
    The strange thing is that the "MultiSelect.js" file is present in the the ext/packages/ux/classic/src/form folder; I put a new entry in bootstrap.json => paths this way:

    "Ext.ux.form.MultiSelect": "ext/packages/ux/classic/src/form/MultiSelect.js",
    This actually fixed the problem, at least this fixes the problems in browser, after the app is deployed..... but, the server won't start because of the error above.

    Anyone of you ever faced things like this?

    Any help appreciated,
    Thanks

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Hi--,

    You likely just need to add the ux to your requires (app.json).

    If you modify/add the following to your app.json does it produce a better result?

    PHP Code:
    "requires": [
        
    "font-awesome",
        
    "ux"
    ], 
    Best!
    Bryan

  3. #3
    Sencha User
    Join Date
    Jul 2013
    Posts
    2

    Default

    Thanks!this worked like a charm

Similar Threads

  1. Cmd error ClassRequire::Ext.util.DelayedTask
    By quartzdesk in forum Sencha Cmd
    Replies: 6
    Last Post: 21 Jan 2016, 5:13 AM
  2. Error in building the application
    By pradnya k in forum Ext 5: Q&A
    Replies: 1
    Last Post: 17 Aug 2015, 5:22 AM
  3. Error in building Extjs application
    By pradnya k in forum Ext 5: Q&A
    Replies: 3
    Last Post: 13 Aug 2015, 3:54 AM
  4. Error building production version of application
    By RobertMatray in forum Sencha Cmd
    Replies: 1
    Last Post: 6 Dec 2014, 10:19 AM
  5. Error when building application
    By sasklacz in forum Sencha Cmd
    Replies: 1
    Last Post: 29 Sep 2012, 1:11 PM

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
  •