extjs - How to fix build error com.sencha.exceptions.ExProcess in extjs4.1 -
i getting below exception when building extjs4.1 project. can tell me how avoid it? using sencha command version3.0. using command
sencha app build [err] d:\testproduction\.sencha\app\build-impl.xml:213: com.sencha.exc eptions.exprocess: phantomjs process exited code 100 :
thanks
i got same issue running sencha app build:
[...] [inf] loading page .../static/sass/example/theme.html failed render widgets within 30 sec. [err] [err] build failed [err] com.sencha.exceptions.exprocess: phantomjs process exited code 1 [err] [err] total time: 49 seconds [err] following error occurred while executing line: .../static/.sencha/app/build-impl.xml:469: com.sencha.exceptions.exprocess: phantomjs process exited code 1
it seemed project directory missing sass
folder.
so created new app , copied on 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 tried copy sass folder directly out of ext
folder within app:
$ cp -r ext/packages/ext-theme-classic/sass .
but seems paths not set. had manually edit file theme.html
:
$ vim sass/example/theme.html [...] <!-- these links need match ext sdk current project --> <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 this, able again sencha app build
:
$ 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 .../static/build/createproduct/production/resources [inf] including theme package ext-theme-classic 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:
Comments
Post a Comment