How to fix com.sencha.exceptions.ExProcess assembly error in extjs4.1

I get the following exception when creating an extjs4.1 project. Can someone tell me how to avoid this? I am using the sencha version3.0 command. Team use

sencha app build [ERR] D:\TestProduction\.sencha\app\build-impl.xml:213: com.sencha.exc eptions.ExProcess: phantomjs process exited with code 100 : 

thanks

+4
source share
2 answers

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 [...] <!-- These links need to match the ext sdk from the 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 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: 
+2
source

I had the same problem, it seemed to refer to a client containing "#" in the path name, i.e. c: \ projects \ C # \ project \ client

creating an application in another directory solved the problem

+1
source

Source: https://habr.com/ru/post/1498933/


All Articles