0

mojito create project xcode is not supported now?

I'm trying mojito with xcode, but have question.
  
$ mojito create project xcode test_project
is not supported now?


I received following error messages.  
⚠ ENOENT, no such file or directory '~/.nvm/v0.6.2/lib/node_modules/mojito/lib/archetypes/project'✖ Invalid archetype: "project/xcode"

I'm checking this document now.
http://developer.yahoo.com/cocktails/mojito/docs/reference/mojito_cmdline.html#creating-code-from-archetypes

Tatsuya
@tnantoka

by
4 Replies
  • I'm getting the same error, was using the commands in the demo video.
    0
  • I think this feature hasn't come into this release yet. Just look up the source code, in lib/management/commands/create.js, it calls utils.validate_archetype function, which locates in lib/management/utils.js, and then it checks the existence of template files of given archetype, in this case, it is *project*. And if you look up the lib/archetypes folder, only *mojit* and *app* are found. No *project* archetype support yet.  
    0
  • That feature was removed for the time being in anticipation of a new set of tools to support that functionality. Sorry for the confusion due to the documentation. We'll make a note to get that updated. 
    0
  • Thank you for your reply.
    I understood.
    0

Recent Posts

in Yahoo! Mojito