tidev / gittio

Search & Install all Titanium Modules and Alloy Widgets on GitHub
http://gitt.io
Other
24 stars 19 forks source link

Error: ENOENT when trying to create demo app #54

Closed manumaticx closed 10 years ago

manumaticx commented 10 years ago

The module for which I wanted to I create a demo app doesn't have a zip in in its dist directory. It seems the cli recognizes this but continues trying to create the project which fails with a "no such file or directory" error.

$ gittio demo com.alcoapps.navigationdrawer

[INFO]  com.alcoapps.navigationdrawer searching...

--- CREATING PROJECT ---

Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.2.GA
Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

[INFO]  Creating Titanium Mobile application project
[INFO]  Copying "android" platform resources
[INFO]  Project 'com.alcoapps.navigationdrawer' created successfully in 94ms

--- INSTALLING MODULE ---

[INFO]  com.alcoapps.navigationdrawer searching...
[ERROR] com.alcoapps.navigationdrawer:android no distributable available

--- PREPARING EXAMPLES ---

fs.js:654
  return binding.readdir(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory '/Users/manu/git/com.alcoapps.navigationdrawer/modules/android/com.alcoapps.navigationdrawer'
    at Object.fs.readdirSync (fs.js:654:18)
    at /usr/local/lib/node_modules/gittio/lib/gittio.js:404:28
    at Array.forEach (native)
    at Function._.each._.forEach (/usr/local/lib/node_modules/gittio/node_modules/underscore/underscore.js:79:11)
    at /usr/local/lib/node_modules/gittio/lib/gittio.js:397:11
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/gittio/lib/exec.js:39:5)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:797:12)
FokkeZB commented 10 years ago

Thanks for the report. I check if there is anything to install first now ;)