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
0
votes
1 answer

What impact Sencha cmd has on Class dependencies?

I'm noticing that uses and requires from the Ext.class aren't working using minified js generated by Sencha cmd tool. I'm defining two classes,suppose class A and B, B class requires that Instace of A should be created which has an ajax call in it's…
user3247727
  • 174
  • 1
  • 7
0
votes
1 answer

Unable to use sencha command to generate project ExtJs 5.1

I am using extjs 5.1. As suggested here I have downloaded and installed sencha cmd 5 After issuing following command from terminal sencha generate app -ext MyApp ./app I am getting errors as shown in below image. Please help I installed the…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
0
votes
1 answer

Sencha touch iOS run shows black screen on simulator

I've created a simple sencha touch app to test on my iOS simulator, and when I run it I get a black screen on my simulator. Here are the steps I took: npm install -g cordova sencha -sdk /path/to/SenchaTouch generate app MyApp…
now_world
  • 940
  • 7
  • 21
  • 56
0
votes
0 answers

Sencha Touch List doesn't get rendered in its Cordova project

I tested my code with "sencha web start", it works fine. I can see the images and the items in the List. then I did the following commands: sencha cordova init com.myPath.MyApp sencha app run native (I have uncommented the platforms in…
Franva
  • 6,565
  • 23
  • 79
  • 144
0
votes
1 answer

How to make Sencha Cmd 5 generate php file?

I have in my ExtJS app index.php , I've changed declared in app.json : "indexHtmlPath": "index.php", but when I build the app using sencha cmd I always get index.html (with the content of the php file). How do I force the file to be named…
Alophind
  • 842
  • 2
  • 12
  • 27
0
votes
1 answer

Javascript Sencha cmd app build error occurred while executing this line

I am trying to create a touch app using Cordova on a Mac. However when I run this code sencha app build native testing I get this error: Sencha Cmd v5.1.2.52 [INF] Processing Build Descriptor : native [INF] Loading app json manifest... [INF]…
now_world
  • 940
  • 7
  • 21
  • 56
0
votes
1 answer

Upgrade sencha cmd 4 to cmd 5 and I have the error when execute

I am a app with Sencha touch 2.4.1 + cordova 4.0.0 . When I compiled with cmd 4 all worked well, but for a error in cmd I had must reinstall the cmd and the only version than I had find is cmd 5. I installed it , and the compiler work fine BUT with…
user2842722
  • 131
  • 1
  • 2
  • 7
0
votes
1 answer

How could I work with "var = new Ext.Panel" and only viewport or Ext.define? (sencha touch 2)

How could I work with "var = new Ext.Panel" and only viewport or Ext.define? Hello World! I have some doubts about views, models and controllers in sencha touch 2. Could I work like this way? app.js Ext.Viewport.add(menu); app/view/Menu.js var…
0
votes
1 answer

Sencha workspace with multiple repositories

I have a doubt with Sencha manages the workspaces, I have a workspace with two different applications, each application should be a different repository, is this possible? how to do it?? I am working with Webstorm IDE but I suppose don´t…
inane
  • 626
  • 10
  • 26
0
votes
1 answer

Sencha Touch Error...."has no method 'getId'"

I am getting this error, in my browser console, after running "sencha app run native testing": Uncaught TypeError: Object [object Object] has no method 'getId' When I look at the code in my browser I see this: When I look at my own code for…
now_world
  • 940
  • 7
  • 21
  • 56
0
votes
1 answer

Building Sencha Touch app with Cordova - [You may not have the required environment or OS to build this project] error

I am trying to build a sencha touch 2.4 application for Android using the sencha cmd "sencha app build native" and I am getting an error that I can't solve. "You may not have the required environment or OS to build this project" I am working on…
LNyarla
  • 454
  • 1
  • 8
  • 23
0
votes
2 answers

Adding third library to Sencha touch project

I need to add a third library in a Sencha Touch project at the moment I am adding the link to the third library as But after the "sencha app build" command I have an…
inane
  • 626
  • 10
  • 26
0
votes
0 answers

How to use app.json with Sencha Touch correctly?

I don´t find documentation about management app versions in Sencha Touch.. I am looking after production build with Sencha Cmd, sencha makes an app.json with different values in version and etcetera, but I don´t know the correct workflow with this…
inane
  • 626
  • 10
  • 26
0
votes
1 answer

sencha cmd won't make an .appcache file

I'm trying to make my app run offline with caching. And I have the default appCache section in my app.json: /** * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build */ "appCache": { /** *…
MrFox
  • 4,852
  • 7
  • 45
  • 81
0
votes
1 answer

How to get the app version after production build in Sencha Touch?

I have one app based in Sencha Touch, and I need to compare in between different versions, I am looking in the "app.json" created after the production build with Sencha CMD I have a hash automatically generated, How to get this parameter and to…
inane
  • 626
  • 10
  • 26