4

Welcome to Mojito!

Welcome to Yahoo! Mojito. This forum is the place to ask questions, learn about the framework, and talk about how to make it work for your project. Let us know how we can help you!

Rather than repeating all the good things that have already been said, I'm going to list some resources that are of interest to everyone:
  • Mojito developer documentation http://yhoo.it/mojdoc 
  • Mojito open source announcement: http://yhoo.it/mojoss (our vision)
  • About the Cocktails program overall: http://yhoo.it/co-sns


by
5 Replies
  • Hi everyone,

    I have some difficulties to follow tutorials from : http://developer.yahoo.com/cocktails/mojito/docs/getting_started/mojito_getting_started_tutorial.html#modify-the-sample-mojit

    Indeed everything works fine for application creation and mojito command line tool but when I get to http://localhost:8666/ I have "Cannot GET /". Morever, when I try http://localhost:8666/@HelloMojit/index => Error 500 with 

     
    Error 500: Cannot read property 'contexts' of undefinedTypeError: Cannot read property 'contexts' of undefined at Object.getMojitTypeDetails (/usr/local/lib/node_modules/mojito/lib/store.server.js:1052:53) at gotBase (/usr/local/lib/node_modules/mojito/lib/store.server.js:557:22) at Object.expandInstanceForEnv (/usr/local/lib/node_modules/mojito/lib/store.server.js:597:13) at Object.getType (/usr/local/lib/node_modules/mojito/lib/store.server.js:403:14) at Object.func (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:154:25) at /usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:86:24 at Object.getApp (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:124:13) at Object.expandInstanceForEnv (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:83:16) at Object.expandInstance (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:53:25) at Object.dispatch (/usr/local/lib/node_modules/mojito/lib/app/autoload/dispatch.common.js:159:15)
    Can anyone help me?

    0
  • Hi everyone,

    I have some difficulties to follow tutorials from : http://developer.yahoo.com/cocktails/mojito/docs/getting_started/mojito_getting_started_tutorial.html#modify-the-sample-mojit

    Indeed everything works fine for application creation and mojito command line tool but when I get to http://localhost:8666/ I have "Cannot GET /". Morever, when I try http://localhost:8666/@HelloMojit/index => Error 500 with 

     
    Error 500: Cannot read property 'contexts' of undefinedTypeError: Cannot read property 'contexts' of undefined at Object.getMojitTypeDetails (/usr/local/lib/node_modules/mojito/lib/store.server.js:1052:53) at gotBase (/usr/local/lib/node_modules/mojito/lib/store.server.js:557:22) at Object.expandInstanceForEnv (/usr/local/lib/node_modules/mojito/lib/store.server.js:597:13) at Object.getType (/usr/local/lib/node_modules/mojito/lib/store.server.js:403:14) at Object.func (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:154:25) at /usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:86:24 at Object.getApp (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:124:13) at Object.expandInstanceForEnv (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:83:16) at Object.expandInstance (/usr/local/lib/node_modules/mojito/lib/app/autoload/resource-store-adapter.common.js:53:25) at Object.dispatch (/usr/local/lib/node_modules/mojito/lib/app/autoload/dispatch.common.js:159:15)
    Can anyone help me?

    0
  • Lefoulon: I've seen this when I start Mojito from the wrong directory.
    You want to start Mojito from the top-level dir of the application. E.g.
    $ mojito create app blah
    $ cd blah
    $ mojito create mojit helloworld
    $ mojito start
    -> http://localhost:8666/@helloworld/index
    0
  • Hi Ren,

    Thanks it works perfectly. 

    I just wonder if you know how to deploy this very simple example on android/iPhone device?

    0
  • You can use the webview of android to show this up! 

    QUOTE(Lefoulon @ 4 May 2012 2:28 AM)
    Hi Ren,

    Thanks it works perfectly. 

    I just wonder if you know how to deploy this very simple example on android/iPhone device?

    0

Recent Posts

in Yahoo! Mojito