Results 1 to 3 of 3

Thread: Sencha Cmd generate app fails to create style sheets

  1. #1
    Sencha User
    Join Date
    May 2017
    Posts
    2

    Default Sencha Cmd generate app fails to create style sheets

    Hi there,

    I'm trying to generate a new app with Sencha Cmd but it fails to create the style sheets. I see this message in the output:

    [ERR] file D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss.js failed to load
    I am using the following versions:
    Ext.js 6.2.0 (GPL)
    Cmd 6.2.2.36
    Java 1.8.0_111
    Windows 7

    The app will run (with sencha app watch) but it has no styles applied! Have I missed something in the setup stage?

    The full output from the sencha -sdk path/to/sdk generate app MyApp path/to/myapp command is:
    Sencha Cmd v6.2.2.36
    [INF] Copying framework to D:\JavaScript\ext.js\myapp\ext
    [INF] Using GPL version of Ext JS version 6.2.0.981 from D:\JavaScript\ext.js\myapp\ext.
    [INF] The implications of using GPL version can be found here (http://www.sencha.com/products/extjs/licensing).
    [INF] Processing Build Descriptor : classic
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Appending content to D:\JavaScript\ext.js\myapp\bootstrap.js
    [INF] Writing content to D:\JavaScript\ext.js\myapp\classic.json
    [INF] merging 237 input resources into D:\JavaScript\ext.js\myapp\build\development\MyApp\classic\resources
    [INF] merged 237 resources into D:\JavaScript\ext.js\myapp\build\development\MyApp\classic\resources
    [INF] merging 18 input resources into D:\JavaScript\ext.js\myapp\build\development\MyApp
    [INF] merged 17 resources into D:\JavaScript\ext.js\myapp\build\development\MyApp
    [INF] Writing content to D:\JavaScript\ext.js\myapp\sass\example\bootstrap.json
    [INF] Writing content to D:\JavaScript\ext.js\myapp\sass\example\bootstrap.js
    [INF] writing sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\MyApp-all.scss.tmp
    [INF] appending sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\MyApp-all.scss.tmp
    [INF] appending sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\MyApp-all.scss.tmp
    [INF] writing sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\config.rb
    [INF] Writing content to D:\JavaScript\ext.js\myapp\build\development\MyApp\classic.json
    [ERR] file D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss.js failed to load
    [ERR] [email protected]://platform/bootstrap.js:299:68
    [email protected]://platform/bootstrap.js:263:32
    [email protected]://platform/fashion-phantomjs.js:2:2375
    phantomjs://platform/fashion-phantomjs.js:2:2562
    [email protected]://platform/fashion-phantomjs.js:3:61714
    [email protected]://platform/fashion-phantomjs.js:3:30528
    [email protected]://platform/fashion-phantomjs.js:2:28659
    [email protected]://platform/fashion-phantomjs.js:2:27082
    [email protected]://code/phantom-sass-compiler.js:111:26
    global [email protected]://code/phantom-sass-compiler.js:153:10
    [ERR] file D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss.js failed to load
    [ERR] [email protected]://platform/bootstrap.js:299:68
    [email protected]://platform/bootstrap.js:263:32
    [email protected]://platform/fashion-phantomjs.js:2:2375
    phantomjs://platform/fashion-phantomjs.js:2:2562
    [email protected]://platform/fashion-phantomjs.js:3:61714
    [email protected]://platform/fashion-phantomjs.js:4:5679
    [email protected]://platform/fashion-phantomjs.js:2:27108
    [email protected]://code/phantom-sass-compiler.js:111:26
    global [email protected]://code/phantom-sass-compiler.js:153:10
    [LOG] Building D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss
    Exiting with code 0
    [INF] Appending content to D:\JavaScript\ext.js\myapp\bootstrap.js
    [INF] Writing content to D:\JavaScript\ext.js\myapp\classic.json
    [INF] Processing Build Descriptor : modern
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Appending content to D:\JavaScript\ext.js\myapp\bootstrap.js
    [INF] Writing content to D:\JavaScript\ext.js\myapp\modern.json
    [INF] merging 375 input resources into D:\JavaScript\ext.js\myapp\build\development\MyApp\modern\resources
    [INF] merged 375 resources into D:\JavaScript\ext.js\myapp\build\development\MyApp\modern\resources
    [INF] merging 18 input resources into D:\JavaScript\ext.js\myapp\build\development\MyApp
    [INF] merged 10 resources into D:\JavaScript\ext.js\myapp\build\development\MyApp
    [INF] Writing content to D:\JavaScript\ext.js\myapp\sass\example\bootstrap.json
    [INF] Writing content to D:\JavaScript\ext.js\myapp\sass\example\bootstrap.js
    [INF] writing sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\MyApp-all.scss.tmp
    [INF] appending sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\MyApp-all.scss.tmp
    [INF] appending sass content to D:\JavaScript\ext.js\myapp\build\temp\development\MyApp\sass\MyApp-all.scss.tmp
    [INF] Writing content to D:\JavaScript\ext.js\myapp\build\development\MyApp\modern.json
    [ERR] file D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss.js failed to load
    [ERR] [email protected]://platform/bootstrap.js:299:68
    [email protected]://platform/bootstrap.js:263:32
    [email protected]://platform/fashion-phantomjs.js:2:2375
    phantomjs://platform/fashion-phantomjs.js:2:2562
    [email protected]://platform/fashion-phantomjs.js:3:61714
    [email protected]://platform/fashion-phantomjs.js:3:30528
    [email protected]://platform/fashion-phantomjs.js:2:28659
    [email protected]://platform/fashion-phantomjs.js:2:27082
    [email protected]://code/phantom-sass-compiler.js:111:26
    global [email protected]://code/phantom-sass-compiler.js:153:10
    [ERR] file D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss.js failed to load
    [ERR] [email protected]://platform/bootstrap.js:299:68
    [email protected]://platform/bootstrap.js:263:32
    [email protected]://platform/fashion-phantomjs.js:2:2375
    phantomjs://platform/fashion-phantomjs.js:2:2562
    [email protected]://platform/fashion-phantomjs.js:3:61714
    [email protected]://platform/fashion-phantomjs.js:4:5679
    [email protected]://platform/fashion-phantomjs.js:2:27108
    [email protected]://code/phantom-sass-compiler.js:111:26
    global [email protected]://code/phantom-sass-compiler.js:153:10
    [LOG] Building D:/JavaScript/ext.js/myapp/build/temp/development/MyApp/sass/MyApp-all.scss
    Exiting with code 0
    [INF] Appending content to D:\JavaScript\ext.js\myapp\bootstrap.js
    [INF] Writing content to D:\JavaScript\ext.js\myapp\modern.json

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Hi--,

    Is the D: a shared drive or local? Also, it could be related to the folder name (ext.js) having the period in it?

    Bryan

  3. #3
    Sencha User
    Join Date
    May 2017
    Posts
    2

    Default

    Thanks Bryan - that's brilliant!

    Removing the period from the folder name resolved the issue!

    Perhaps the set-up documentation can be updated to warn users against using periods in folder names? (http://docs.sencha.com/extjs/6.0.1/g...g_started.html)

    Many thanks for your help!

    finchie

Similar Threads

  1. sencha cmd generate app & then build fails
    By srx567 in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 1 Sep 2015, 4:52 AM
  2. How do I modify/override sencha's CSS style sheets?
    By denisputnam in forum Sencha Architect 3.x: Q&A
    Replies: 1
    Last Post: 16 Jun 2014, 8:55 AM
  3. Generate 2 different style for the sencha grid component
    By antoine.kahale in forum Ext: Q&A
    Replies: 2
    Last Post: 2 Oct 2013, 10:03 PM
  4. Generate Sencha Style for the Tab Component
    By antoine.kahale in forum Ext: Q&A
    Replies: 2
    Last Post: 25 Sep 2013, 9:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •