Questions tagged [sencha-cmd]

For questions related to sencha's command tool.

Sencha Cmd is the cornerstone to build your Sencha application. From scaffolding a new project, to minifying and deploying your application to production, Sencha Cmd provides a full set of lifecycle management features to compliment your Sencha project.

Sencha CMD can be downloaded on Sencha's download site. Installers are available for Mac, Windows and Linux (64 bit, 32 bit).

For more command line options, you can check the Sencha CMD Documentation for Sencha Ext JS or the Documentation for Sencha Touch.

538 questions
6
votes
2 answers

ExtJS 5.1 Build Error (Yui Parse Error)

I use eclipse for ExtJS development, I am using ant build in eclipse, it uses Sencha cmd. My project details are app.framework.version=5.1.0.107 app.cmd.version=5.1.0.26 when I try to build project, it fails with Yui Parse errors, but I couldn't…
AsyncTask
  • 419
  • 1
  • 7
  • 24
6
votes
5 answers

sencha app build Error codegen.json not found

C:\wamp\Sencha\Test>sencha app build testing [ERR] Cannot find file: C:\Program Files\Sencha\Cmd\repo\.sencha\codegen.json at com.sencha.util.BasicFileSystemHelper.writeFileData(BasicFileSystemHelpe r.java:49) at…
6
votes
3 answers

How to package (minify) an extjs 4 application

I am looking for de facto instructions for packaging and minfying an Ext JS 4 app. Everything seems to point to the Sencha SDK, but everything around this is targeted at Sencha Touch, and anyway, when I follow the instructions (sencha app build…
jenson-button-event
  • 18,101
  • 11
  • 89
  • 155
5
votes
1 answer

Unable to build sencha app even having correct cmd and framework compatible versions

There is no debugger remained in all the code.All is fine on local.But as soon I started to build app it shows following error. Moreover everything works fine in the development folder. However, when I try to create a production build, I get the…
Malik Khalil
  • 6,454
  • 2
  • 39
  • 33
5
votes
1 answer

Extjs - Stop client to append any "id" with Model instance before sending it to server via REST

Client(Browser) is automatically appending "id" in my JSON which I am sending to server. Here is my model with proxy: fields: ['id','title','body'], idProperty: 'id', // this is the default value (for clarity) // clientIdProperty:…
Abdul Rehman Yawar Khan
  • 1,088
  • 3
  • 17
  • 40
5
votes
3 answers

Sencha build failed compass process exited with non-zero code 1

I am trying to build my Sencha app at windows OS but getting this error. I am trying to use sencha command - sencha app build package, but build is failed. I already installed ant and compass C:\xampp\htdocs\WhatsUnderMe>sencha app build…
user1666543
  • 665
  • 1
  • 10
  • 19
4
votes
3 answers

Sencha cmd, closure compiler error: how to locate the offending code

When running Sencha cmd 6.5, and I get the following error: [ERR] C2001: Closure Compiler Error (Parse error. undefined label "f") -- compression-input:1:4095 How can I locate the code at compression-input:1:4095 ? This happens when I include a…
Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
4
votes
3 answers

Load app.js before rest of application

I'm trying to figure out how I can load app.js before allowing the user to get the actual application. What I'm attempting to do is load a user's configuration file before all of my class Ext.defines fire... the reason I want to do this is because…
incutonez
  • 3,241
  • 9
  • 43
  • 92
4
votes
0 answers

Sencha CMD Performance on Windows 13x slower than Mac

I posted this to the Sencha Forums with no response and I'm wondering if this is just my issue and I should create a sencha ticket, or others see the same problem. When I create the simplest of sencha scaffolds (sencha generate app...) I see a one…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
4
votes
2 answers

Sencha CMD, upgrading from 6.0 to 6.1 IndexOutOfBoundsException

I'm trying to sencha app build with Sencha CMD 6.1.1.76 but I'm getting: BUILD FAILED [ERR] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 [ERR] at…
code4jhon
  • 5,725
  • 9
  • 40
  • 60
4
votes
3 answers

How to uninstall Sencha Cmd v6.0.0.202 from Mac?

As I need to deal with the previous versions of Sencha, I am planning to remove the latest version of 'Sencha Cmd' on Mac 10.9.5. How can this be accomplished?
4
votes
2 answers

Sencha cmd 4 adding css and js

In the lastest versión on sencha cmd 4.1 and 4.2 , i can't add external css and js inside the app.json it throws Mixed-Mode x-compile and microload markup is currently unsupported , seems that I need to remove and move everything inside the…
Luis
  • 1,242
  • 11
  • 18
4
votes
1 answer

Add assets in a sencha touch build (ST 2.2.1)

I have Sencha Touch 2.2.1 that includes assets like images, videos and .json's. I put them in the /resources folder. When I build the application with Sencha Cmd like this: sencha app build production the assets are not copied to the destination…
Tiago A.
  • 2,568
  • 1
  • 22
  • 27
4
votes
4 answers

This app was last modified by a newer version of Sencha Cmd - version mismatch

I'm trying to add the sencha cmd production package into my build process. But the final step when I need to package the app fails with the above error. What I don't understand is this is a newly built application fresh from the SVN repo. The…
jaffa
  • 26,770
  • 50
  • 178
  • 289
4
votes
1 answer

Why is there no view build in Sencha Touch cmd

Using the following command: sencha generate view user I get the following error: [ERR] Generate View is an ExtJS SDK specific command. Is there any reason why this doesn't work?
jaffa
  • 26,770
  • 50
  • 178
  • 289
1
2
3
35 36