I had a problem creating a sencha application:
[...] [INF] loading page .../static/sass/example/theme.html failed to render widgets within 30 sec. [ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 1 [ERR] [ERR] Total time: 49 seconds [ERR] The following error occurred while executing this line: .../static/.sencha/app/build-impl.xml:469: com.sencha.exceptions.ExProcess: phantomjs process exited with code 1
It seemed that there was no sass folder in my project directory.
So, I created a new application and copied the sass folder there:
$ cd /tmp $ sencha -s ~/develop/js/Sencha/ext-4.2.1.883 generate app MyApp myapp $ tree myapp/sass myapp/sass βββ config.rb βββ etc βββ example β βββ bootstrap.css β βββ custom.js β βββ render.js β βββ theme.html βββ src βββ var $ cp -r myapp/sass <dest>
I also tried copying the sass folder directly from the ext folder in my application:
$ cp -r ext / packages / ext-theme-classic / sass.
But it seems that some paths are not set. So I had to manually edit the theme.html file:
$ vim sass/example/theme.html [...] <link rel="stylesheet" type="text/css" href="example.css" /> <script type="text/javascript" src="../../ext/ext-dev.js"></script> <script type="text/javascript" src="bootstrap.js"></script>
After that, I was able to do sencha app build again:
$ sencha app build [...] [INF] loading page .../static/sass/example/theme.html Capturing screenshot Saving slicer widget manifest Capture complete [INF] Capture complete [INF] [echo] Slicing theme images to .../static/build/CreateProduct/production/resources [INF] Including theme package ext-theme-classic for app.theme=ext-theme-classic build [INF] Slicing images... [INF] Slicing complete - generated 0 images [INF] [INF] -after-slice: [INF] [INF] -build: [INF] [INF] -after-build: [INF] [INF] build: [INF] [INF] app-build:
source share