Results 1 to 2 of 2

Thread: Extjs6:Error running sencha ant sass command

  1. #1

    Default Extjs6:Error running sencha ant sass command

    Hi all, I am new to extjs. I have created an extjs 6.0.2 app through sencha cmd. I ran the command **sencha app build classic**.everything went well and the app was created successfully.but when I ran the command **sencha ant sass**, I got the following error in the console

    [ERR] Failed to resolve dependency Ext.chart.LegendBase for file Ext.chart.Legend
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.chart.LegendBase
    [ERR]
    [ERR] Total time: 3 seconds
    [ERR] The following error occurred while executing this line:
    E:\Workspace\Zscore\zscore\.sencha\app\init-impl.xml:382: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.chart.LegendBase




    what might be the issue?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I believe that you'll need to specify which build profile is being targeted. Something like this:
    Code:
    sencha ant -Dbuild.id=classic -Dbuild.name=classic sass
    There's a feature request (SDKTOOLS-1463) to improve the documentation regarding this functionality.

Similar Threads

  1. Replies: 0
    Last Post: 13 Apr 2015, 10:57 AM
  2. Error while running sencha cordova init command
    By prasun313 in forum Sencha Cmd
    Replies: 4
    Last Post: 5 Jan 2015, 1:05 PM
  3. Error while running sencha cordova init command
    By prasun313 in forum Community Discussion
    Replies: 0
    Last Post: 18 Dec 2014, 9:54 PM
  4. New here, Getting an Error when running a command (Mac OS X Lion)
    By Burnall4 in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 2 May 2012, 8:14 PM
  5. Build sass with Sencha Command
    By EPV in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 20 Mar 2012, 10:35 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
  •