I've gotten to setup mojito to run
I replaced the content of ./server.js with the following (whichever
nodester app is configured to run)
/////////////////////////////////////
process.chdir(__dirname);
var mojito = module.exports = require('mojito').createServer();
mojito.listen(<port_number>, function(err) {
if (err) {
utils.error('There was an error starting the application:\n');
utils.error(err);
console.log('\n');
utils.error('Mojito was not started!\n', null, true);
return;
}
console.log('Mojito started\n');
});
//////////////////////////////////
Looks like you've imported the mojito packaged directly under
node_modules, but I think it'll work with your setup as well.
-Terry
On May 30, 7:32 pm, Gaurav Vaish <
gaurav.va...@gmail.com> wrote:
> Well, finally got to customizing the command - instead of launching
> server.js, launch node_modules/.bin/mojito.
> Changed the default command to "start" rather than "help".
>
> Now what I get is an error:
> Error: ENOENT, No such file or directory '/dev/MAKEDEV'
>
> Wondering why...
>
> --
> Happy Hacking,
> Gaurav
Vaishwww.m10v.com
>
> On May 30, 4:40 pm, Gaurav Vaish <
gaurav.va...@gmail.com> wrote:
>
>
>
>
>
>
>
> > It is 0.2.50!
>
> > --
> > Happy Hacking,
> > Gaurav
Vaishwww.m10v.com
>
> > On May 30, 11:05 am, Teruhisa Haruguchi <
teruhisa.harugu...@gmail.com>
> > wrote:
>
> > > Which version of nodester do you have installed?
> > > I think I was getting that error too until I updated to the latest
> > > (0.2.50)
>
> > > Although I did getmojitoinstalled, now I'm stuck figuring out how to
> > > run "mojitostart" instead of running "server.js" directly...
> > > > Is it possible to use Yahoo!Mojitoon Nodester?