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
1
vote
0 answers

Can I use custom flags to sencha app build?

Is there a way to pass custom flags like this: sencha app build --foo=bar Then, access that flag via build.xml ? Thanks.
John Smith
  • 1,848
  • 3
  • 13
  • 24
1
vote
1 answer

How to specify a different domain when using sencha app watch?

Is there something like? sencha app watch --host=mydomain.app As we all know, the default domain is localhost:1841. I can define a custom port, but not a custom domain. I haven't found anything related in the Sencha documentation. Any workaround? I…
John Smith
  • 1,848
  • 3
  • 13
  • 24
1
vote
1 answer

Does ExtJS7 multi application project (with workspace) support open tooling (Ext-gen, webpack)?

Can I create multi application workspace project with ExtJS 7 and bring open-tooling (npm,webpack) to it? I couldn't find any documentation for this.
Shiran Amiel
  • 21
  • 1
  • 3
1
vote
2 answers

Sencha Architect 4.3 not update old projects

My project work correctly on SA 4.2.9 - Ext 7.3 When the same project is opened with Sencha Architect 4.3, starting update process but "loading instances" window remains open also after 3 hours. After force exit, on retry to open the project, SA43…
Lucaele
  • 39
  • 4
1
vote
1 answer

build is failing in sencha cmd with any of this command sencha ap watch/run/build, it started happening suddenly here is the log available

Exception information: C:\Users\INTEL\bin\Sencha\Cmd\7.2.0.84\plugin.xml:333: The following error occurred while executing this line: C:\Users\INTEL\bin\Sencha\Cmd\7.2.0.84\ant\build\app\build-impl.xml:341: The following error occurred while…
1
vote
1 answer

Is it possible to use Sencha CMD to split the framework out of an app while keeping all ExtJS code out of the index file?

I'm building an app with ExtJS 6 and Sencha CMD 6.5.4. I have some custom scripts running in my app's index.html and I'd like to keep all ExtJS confined to the minified bundle(s) generated by Sencha CMD, keeping all bootstrap code out of the index…
StackMonster
  • 61
  • 1
  • 2
1
vote
1 answer

Is there a better way to add onerror callback on app.js script tag if it fails to load?

sometimes app.js is not loaded due to 500 server error and it shows blank page, but it will be better to display message that app is not available now. So I found a way to inject into bin\Sencha\Cmd\6.5.3.6\ant\build\app\Boot.js#loadElement function…
Massimo
  • 75
  • 10
1
vote
1 answer

Migrating Sencha Cmd created packages to npm

I'm trying to migrate my app from using Sencha Cmd to the newer Node/npm way that Ext JS applications are created, and I'm using this guide as my reference. What I'm confused on is how custom packages are handled. I currently have a slew of…
incutonez
  • 3,241
  • 9
  • 43
  • 92
1
vote
2 answers

Sencha CMD 7 dockerfile fails with Illegal reflective access

Im trying to get a docker image going for my project, but im having some serious issues trying to get it going. I was wondering if anyone had a docker setup that uses Sencha CMD 7 they could share. My code is as follows; FROM nginx:latest RUN mkdir…
CodeSauce
  • 255
  • 3
  • 19
  • 39
1
vote
1 answer

Sencha Ext JS hot reload / live update

I'm running Ext JS 6.2 and one feature I miss compared to new frameworks is hot reload / live reload during development (both for js files and css files). Press F5 every X second to refresh the page is time-wasting I tried to configure browsersync…
realnot
  • 721
  • 1
  • 11
  • 31
1
vote
0 answers

Separate sencha application from backend java server for better work enviroment

I have an ext.js as a frontend and java as a backend and my main page is index.jsp. I want to run my frontend separate from backend using sencha app watch, what is the correct process? I have configured web.xml `
akash kumar
  • 121
  • 1
  • 6
1
vote
0 answers

Getting an error in the test version, which is not with the normal sencha app watch command

When I run "sencha app build testing" command In Ext js Application. It shows me an error "DOM element with id ext-viewport in Element cache is not the same as element in the DOM. Make sure to clean up Element instances using destroy()". Here I'm…
Hash934
  • 87
  • 1
  • 11
1
vote
0 answers

The application was last modified by an older version of Sencha Cmd

When I run the "C:\Program Files***\sencha" app upgrade command I get the below result. How can I upgrade my Sencha app? Sencha Cmd v6.6.0.13 [ERR] Cannot satisfy requirements for "ext"! [ERR] The following versions cannot be satisfied: [ERR] …
1
vote
1 answer

Rhino Parse Error (missing ] after element list

I have a problem executing the build command from my extjs application. See below for the error return: stroy) -- D:\TFS\BS\dev\Litus2ViaBoleto\Litus\Litus\ext\src\ux\TabCloseMenu.js:84 [ERR] C2000: Rhino Parse Error (missing ] after element list =>…
1
vote
2 answers

Use Moment.js in extjs project

I'm developing an Extjs project using 6.5.2 version and modern toolkit, i want to use https://momentjs.com/ package but i couldn't import the node_dependency. The Momentjs page has the downloads or install methods, but if i download the code, where…