Categories
JavaScript

Sencha app build failed: Mixed-Mode x-compile and microload markup is currently unsupported

If you use Sencha Command tool to build ExtJs application like this:

sencha app build

and experience something similar to the following error

[ERR] 
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Mixed-Mode x-compile and microload markup is currently unsupported
[ERR]

here is the solution for your problem. The problem is that there are two parallel places where you defined references to js, css and/or theme files. Open up index.html and app.json files from the root of your project and check if there are references to js, css in both files.

Solution is to simply remove all file references and theme definitions from app.json file and take care that all of them are defined in index.html file. After this, you can run build command again without errors.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s