thanks for the reply..

@ Bert Thanks for it.. 

@BlondAngelNYC    Actually am also a newbie. Just started to work with 
nodejs. I didn't understand the idea of running from commandline and from 
webserver. Could you please tell me more about it?

Regards
harilal

On Friday, October 5, 2012 8:11:15 PM UTC+5:30, BlondAngelNYC wrote:
>
> I am a newbie myself.   I wanted to use ExpressJS for two projects.  This 
> is what I have learned:
>
> If you are running things from the commandline, you can use 'npm install 
> -g <name>' to use the module.
>
> If you are running within a webserver, you need to install it locally with 
> 'npm install <name>'
>
> Once I understood the distinction, then everything makes sense.
>
> On Friday, October 5, 2012 7:51:35 AM UTC-4, Bert Belder wrote:
>>
>> On Friday, October 5, 2012 10:09:38 AM UTC+2, harilal pillai wrote:
>>>
>>> hello,
>>>
>>> Am new to node js . I have installed nodejs in C:\Program Files\nodejs . 
>>> and installed socket io. I tried to create some sample application 
>>> in E:\harilal\node. i got error "cannot find socket io" . after searching 
>>> installed socket.io in the app folder using npm. 
>>>
>> Now it's working fine. Is i need to install socket.iofor every app 
>> separately. Is it possible to install it in 
>>> node installation directory and use it in apps?
>>>
>>> Regards
>>> Harilal
>>>
>>
>> This is a known issue. Try setting the HOME environment variable. On the 
>> command line enter
>>   set HOME=%USERPROFILE%
>>
>> By the way, installing socket.io for every app is sort of the 
>> recommended way of doing things.
>>
>> - Bert
>>
>

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