1. #1
    Sencha User
    Join Date
    Apr 2013
    Location
    New York
    Posts
    16
    Vote Rating
    0
    scriptonian is on a distinguished road

      0  

    Default Cannot generate testing/production builds with sencha cmd

    Cannot generate testing/production builds with sencha cmd


    Hello i am relatively new to sencha. I have been trying to build my app but nothing works. i have used serveral versions of sencha cmd nothing works. funny thing is i think the build command is actually deleting some files as well. Please help.

    SNNYM-KADDAQUA1:kofiapp 160076$ sencha app build testing
    Sencha Cmd v4.0.0.126
    [INF]
    [INF] init-plugin:
    [INF]
    [INF] cmd-root-plugin.init-properties:
    [INF]
    [INF] init-properties:
    [INF]
    [INF] init-sencha-command:
    [INF]
    [INF] init:
    [INF]
    [INF] app-build-impl:
    [INF]
    [INF] -before-init-local:
    [INF]
    [INF] -init-local:
    [INF]
    [INF] -after-init-local:
    [INF]
    [INF] init-local:
    [INF]
    [INF] check-cmd-in-path:
    [INF]
    [INF] find-cmd-in-path:
    [INF]
    [INF] find-cmd:
    [INF]
    [INF] -before-init:
    [INF]
    [INF] -init:
    [INF] Initializing Sencha Cmd ant environment
    [INF] Adding antlib taskdef for com/sencha/command/compass/ant/antlib.xml
    [INF] [x-load-properties] Loading optional properties file /Users/160076/Sites/KofiApp/.sencha/app/testing.properties
    [INF] [x-load-properties] Loading required properties file /Users/160076/Sites/KofiApp/.sencha/app/build.properties
    [INF]
    [INF] -after-init:
    [INF]
    [INF] -before-init-default:
    [INF]
    [INF] -init-default:
    [INF]
    [INF] -after-init-default:
    [INF]
    [INF] init:
    [INF]
    [INF] -before-build:
    [INF]
    [INF] sass:
    [INF]
    [INF] -before-sass:
    [INF]
    [INF] -sass:
    [INF] executing compass using system installed ruby runtime
    Sass::SyntaxError on line ["4"] of /Users/160076/Sites/KofiApp/resources/sass/app.scss: File to import not found or unreadable: sencha-touch/default.
    Load paths:
    /Users/160076/Sites/KofiApp/resources/sass
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/frameworks/blueprint/stylesheets
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/frameworks/compass/stylesheets
    /Users/160076/Sites/touch/resources/themes/vendor/compass-recipes/stylesheets
    /Users/160076/Sites/touch/resources/themes/stylesheets
    Compass::SpriteImporter
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/import_node.rb:64:in `rescue in import'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/import_node.rb:42:in `import'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/import_node.rb:25:in `imported_file'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:148:in `rescue in visit_import'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:153:in `visit_import'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37:in `visit'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18:in `visit'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53:in `map'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53:in `visit_children'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:27:in `block in visit_children'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:39:in `with_environment'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:26:in `visit_children'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37:in `block in visit'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:47:in `visit_root'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37:in `visit'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18:in `visit'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:7:in `visit'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/tree/root_node.rb:20:in `render'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/engine.rb:293:in `_render'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/sass-3.1.7/lib/sass/engine.rb:240:in `render'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:140:in `block (2 levels) in compile'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:139:in `block in compile'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/logger.rb:45:in `red'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:138:in `compile'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:103:in `block (2 levels) in run'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `each'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `block in run'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/commands/update_project.rb:45:in `perform'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/commands/base.rb:18:in `execute'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/commands/project_base.rb:19:in `execute'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in `run!'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/bin/compass:30:in `block in <top (required)>'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/bin/compass:44:in `call'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/bin/compass:44:in `<top (required)>'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/bin/compass:23:in `load'
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/bin/compass:23:in `<main>'
    error app.scss (Line 4: File to import not found or unreadable: sencha-touch/default.
    Load paths:
    /Users/160076/Sites/KofiApp/resources/sass
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/frameworks/blueprint/stylesheets
    /Users/160076/bin/Sencha/Cmd/4.0.0.126/extensions/sencha-compass/gems/gems/compass-0.12.2/frameworks/compass/stylesheets
    /Users/160076/Sites/touch/resources/themes/vendor/compass-recipes/stylesheets
    /Users/160076/Sites/touch/resources/themes/stylesheets
    Compass::SpriteImporter)
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1
    [ERR]
    [ERR] Total time: 4 seconds
    [ERR] The following error occurred while executing this line:
    /Users/160076/Sites/KofiApp/.sencha/app/build-impl.xml:232: The following error occurred while executing this line:
    /Users/160076/Sites/KofiApp/.sencha/app/build-impl.xml:226: com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1
    SNNYM-KADDAQUA1:kofiapp 160076$

  2. #2
    Sencha User
    Join Date
    Jul 2013
    Posts
    7
    Vote Rating
    0
    moakus is on a distinguished road

      0  

    Default


    This is the issue

    Sass::SyntaxError on line ["4"] of /Users/160076/Sites/KofiApp/resources/sass/app.scss: File to import not found or unreadable: sencha-touch/default.

    so open
    /Users/160076/Sites/KofiApp/resources/sass/app.scss and see what line 4 says... probably the name of a file that doesn't exist

Thread Participants: 1