Hey!

Oh yes, you got that one right. In my cases, I just have a folder containing my 
stuff, or app. Let's take an example, for a WebSockets server...

ChatSock
|- main.js
|- lib/other.js
|- node_modules
    |- socket.io
    |- someOtherStuff

the node_modules within your app/project directory is the "local npm install 
path". So in your case, if I wanted to add Karma, I would navigate right into 
that folder, and

        $ npm install karma

And it would appear next to socket.io and someOtherStuff.

Hope this answered your question ovo

Kind regards, Ingwie.
Am Sa. Apr. 19 2014 01:15:37 schrieb Karl Krasnowsky:

> I hope there really isn't any stupid questions here, but maybe this is one.
> 
> So I'm going through the installation instructions for the nodejs based test 
> runner Karma which on the very first instruction states:
> 
> The recommended approach is to install Karma (and all the plugins your 
> project needs) locally in the project's directory.
> 
> What exactly is "the project's directory" in the context of nodejs? I've 
> simply created a directory, e.g., myKarmaProject, and from within this began 
> performing the instructed npm processes to pull in the necessary artifacts.
> 
> Is a directory all that is needed to designate a "nodejs project" ?  Or is 
> there an official process for initializing it as such... I must think the 
> former since I see no specific instructions otherwise?
> 
> thanks for not laughing...
> Karl
> 
> --



-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to