PDA

View Full Version : ext-gen cannot start app



Nemanja92
7 Dec 2018, 2:03 AM
After generating new app with ext-gen i get error after npm start. Here is what i get in terminal.


ℹ 「ext」: ext-webpack-plugin v1.0.2, Ext JS v6.6.0.258 Commercial Edition, Sencha Cmd v6.6.0.13, webpack v4.27.1ℹ 「ext」: Building for development
ℹ 「wds」: Project is running at http://0.0.0.0:1963/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from ./
ℹ 「wds」: 404s will fallback to /index.html
ℹ 「ext」: Building Ext bundle at: ./
ℹ 「ext」: Processing Build Descriptor : desktop (development environment)
ℹ 「ext」: Loading compiler context
ℹ 「ext」: Loading app json manifest...
ℹ 「ext」: Appending content to /generatedFiles/bootstrap.js
ℹ 「ext」: Writing content to /generatedFiles/desktop.json
ℹ 「ext」: Writing content to /build/temp/development/CoolDesktopApp/slicer-temp/bootstrap.json
ℹ 「ext」: Writing content to /build/temp/development/CoolDesktopApp/slicer-temp/bootstrap.js
ℹ 「ext」: Writing content to /build/development/CoolDesktopApp/generatedFiles/desktop.json
ℹ 「ext」: Fashion build complete for /build/temp/development/CoolDesktopApp/sass/CoolDesktopApp-all.scss
ℹ 「ext」: Fashion build completed in 2.422 sec.
ℹ 「ext」: Appending content to /generatedFiles/bootstrap.js
ℹ 「ext」: Writing content to /generatedFiles/desktop.json
ℹ 「ext」: [ERR]
ℹ 「ext」: [ERR] BUILD FAILED
ℹ 「ext」: [ERR] java.lang.NullPointerException
ℹ 「ext」: [ERR]
ℹ 「ext」: [ERR] Total time: 9 seconds
ℹ 「ext」: [ERR] /node_modules/@sencha/cmd/dist/plugin.xml:378: The following error occurred while executing this line:
ℹ 「ext」: [ERR] A log is available in the file "/sencha-error-20181207.log"
ℹ 「ext」: Completed ext-webpack-plugin processing
✖ 「wdm」: Built at: 2018-12-07 10:42:16


ERROR in ℹ 「ext」: [ERR]


ERROR in ℹ 「ext」: BUILD FAILED


ERROR in ℹ 「ext」: java.lang.NullPointerException


ERROR in ℹ 「ext」: [ERR]


ERROR in ℹ 「ext」: Total time: 9 seconds


ERROR in ℹ 「ext」: /node_modules/@sencha/cmd/dist/plugin.xml:378: The following error occurred while executing this line:


ERROR in ℹ 「ext」: A log is available in the file "/sencha-error-20181207.log"


ERROR in 65
ℹ 「wdm」: Failed to compile.

swegeler
11 Dec 2018, 6:02 PM
I have the same issue

sandeep.adwankar
17 Dec 2018, 10:46 AM
Hi!

We have released updates to ExtGen. Pl. download it from NPM repository. Thx!

npm install -g @sencha/ext-gen

yivo
18 Dec 2018, 2:38 AM
I updated to the latest version ext-gen 1.0.3, but this error did not disappear. The application does not start. I had to roll back to ext-gen 1.0.1.

mgusmano
16 Apr 2019, 2:52 AM
the latest version is 6.7.0 - and we are currently testing 6.7.1 - in that version we also have an upgrade tool