Results 1 to 2 of 2

Thread: need help on build error : Failed to resolve dependency Ext.app.Application

  1. #1
    Sencha User
    Join Date
    Jan 2018
    Posts
    2

    Default need help on build error : Failed to resolve dependency Ext.app.Application

    Hello,
    I'm trying to build an application and I get this error :


    [ERR] Failed to resolve dependency Ext.app.Application for file StatsApp.Application[ERR] [ERR] BUILD FAILED[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application[ERR] at org.apache.tools.ant.Target.p[ERR] erformTasks(Target.java:413)[ERR] [ERR] Total time: 1 second
    [ERR] /home/cyprien/bin/Sencha/Architect/Cmd/6.6.0.13/plugin.xml:378: The following error occurred while executing this line:/home/cyprien/projets/statsAppNew/.sencha/app/build-impl.xml:252: The following error occurred while executing this line:/home/cyprien/projets/statsAppNew/.sencha/app/watch-impl.xml:87: The following error occurred while executing this line:/home/cyprien/projets/statsAppNew/.sencha/app/build-impl.xml:386: The following error occurred while executing this line:/home/cyprien/projets/statsAppNew/.sencha/app/init-impl.xml:436: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application[ERR] A log is available in the file "/home/cyprien/projets/statsAppNew/sencha-error-20181220-5.log"


    I tried to add the require to the file like this :
    PHP Code:
    // Application.js
    Ext.define('StatsApp.Application', {
        
    extend'Ext.app.Application',

       
    requires: [
          
    'Ext.app.Application'
        
    ], 
    I have made a repository here :
    https://github.com/Ctaque/statsApp-debug


    I would appreciate some help,

    Thanks

  2. #2
    chramer's Avatar
    Join Date
    Feb 2011
    Location
    Chisinau, Moldova
    Posts
    316
    Answers
    64

    Default

    You did not specify a `toolkit` for your custom `web` build profile in `app.json`

Similar Threads

  1. Replies: 1
    Last Post: 2 Jan 2019, 7:49 PM
  2. Replies: 3
    Last Post: 28 Apr 2017, 3:58 PM
  3. Replies: 11
    Last Post: 9 Jun 2016, 8:14 AM
  4. Replies: 1
    Last Post: 2 Dec 2015, 3:59 PM
  5. Failed to resolve dependency Ext.Base
    By Vooetu in forum Sencha Cmd
    Replies: 3
    Last Post: 5 Nov 2013, 8:34 AM

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
  •