The workflow should be:

```
$ katana create app
...
$ cd app
$ npm install
...
$ node app
```

unless you have the NODE_PATH (deprecated?) env pointing to your global 
"node_modules"
ex:
```
$ echo $NODE_PATH
/usr/local/lib/node_modules
$
```


Il giorno giovedì 31 maggio 2012 05:45:03 UTC+2, Bernardo Rosmaninho 
Oliveira ha scritto:
>
> Shogun, I'm getting this error:
>
> bernardo@eniac ~/Projetos $ katana create app
>
> Create application at: /home/bernardo/Projetos/app/ ? [Yes|No]: y
>
> Done!
>
> bernardo@eniac ~/Projetos $ cd app/
>
> *bernardo@eniac ~/Projetos/app $ node app*
>
> *
> *
>
> *module.js:337*
>
> *    throw new Error("Cannot find module '" + request + "'");*
>
> *          ^*
>
> *Error: Cannot find module 'katana'*
>
> *    at Function._resolveFilename (module.js:337:11)*
>
> *    at Function._load (module.js:279:25)*
>
> *    at Module.require (module.js:359:17)*
>
> *    at require (module.js:375:17)*
>
> *    at Object.<anonymous> (/home/bernardo/Projetos/app/app.js:1:73)*
>
> *    at Module._compile (module.js:446:26)*
>
> *    at Object..js (module.js:464:10)*
>
> *    at Module.load (module.js:353:31)*
>
> *    at Function._load (module.js:311:12)*
>
> *    at Array.0 (module.js:484:10)*
>
>
> Att,
> Bernardo Rosmaninho
>
>
>
>
> 2012/5/30 Shogun <[email protected]>
>
>> вторник, 29 мая 2012 г., 23:48:15 UTC+3 пользователь EllisGL написал:
>>
>>> Just wanted to say, so far it looks good. Was wondering if you are going 
>>> to do a tutorial. Something like a guest book with a DB backend, sessions / 
>>> cookies, and something showing integration with socket.io.
>>>
>>
>> Hi EllisGL, for sure i will write some tutorial, soon.
>>
>> Thanks Bernardo. ;)
>>
>> -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to