-1

Mojito on windows

I've tried to run mojito on windows and it fails. Since it do not have dependencies on *nix components (since new yuitest), will you plan to fix it to work on windows?
I spent half of a day in debugger, trying to find where loader fails, but... Problem is in loader (as I see) because after initialization, Y object does not contain any loaded modules, but there is so much code in it, that I near every time lost chain of calls. Can anybody help with this? Will this be fixed in yui 3.6?

11 Replies
  • Does YUI work for you in node.js without Mojito? If not, I suggest you to raise this to the YUI team.
    0
  • See https://github.com/yahoo/mojito/issues/264
    0
  • I'm trying to find where is the problem. I'll report soon. I already found some "path issues" and continue to work in this direction. No need of yui team in this bug right now, but thank you.
    0
  • I'm getting an error when attempting to start mojito:

    ? There was an eror starting the application:
    ? Cannot call method 'getALLPOSL's' of undefined at ResourceStore.YUI.add.Y.extend.resolveResouceVersions <...>

    Can someone please point me in a direction...Thanks.


        
    0
  • Adolfo, I have the same issue on Windows 7. Surprisingly it used to work before, but not anymore. Seems to me, it's either new update of node.js or mojito itself is the reason. 
    0
  • Thank you Sigma...I'm vMing Ubuntu for now.     
    0
  • I've seen that error when the version of the globally installed mojito is different than the version installed in my app.
    Drew

    QUOTE(Adolfo @ 31 Aug 2012 5:34 PM)
    I'm getting an error when attempting to start mojito:

    ? There was an eror starting the application:
    ? Cannot call method 'getALLPOSL's' of undefined at ResourceStore.YUI.add.Y.extend.resolveResouceVersions <...>

    Can someone please point me in a direction...Thanks.


        
    0
  • Hi Alexey et. al,

    I created a PR for some Windows fixes (this error was fixed). Could you try Mojito out from my branch and see how it goes?

    - PR: https://github.com/yahoo/mojito/pull/460
    - Branch: https://github.com/mridgway/mojito/tree/windows
    0
  • Hi Michael and thank you for your branch. Unfirtunately it didn't work for me. Here is what I get at 'mojito test': 

    test.js:709
    store = new Ystore.mojito.ResourceStore({
    TypeError: Cannot read property 'ResourceStore' of undefined

    And this I get at 'mojito create app hello':

    utils.js:122
    compiled = hb.compile(tmpl);
                          ^
    TypeError: Cannot call method 'compile' of undefined
    0
  • I'll see what I can do to fix this when I get some free time. I knew that `mojito test` wouldn't pass because we have some tests that depend look for '/' in paths. I didn't test any of the other `mojito` commands though. I suppose `mojito create` is importan for new users, so I'll try to get that working first.
    1
  • PR1103 was merged yesterday, and v0.6.0 will be released in about 3 days with support for windows: https://github.com/yahoo/mojito/pull/1103

    0

Recent Posts

in Yahoo! Mojito