Received: by 10.66.74.39 with SMTP id q7mr2601568pav.29.1349498308328; Fri, 05 Oct 2012 21:38:28 -0700 (PDT) X-BeenThere: nodejs@googlegroups.com Received: by 10.68.189.162 with SMTP id gj2ls17211157pbc.6.gmail; Fri, 05 Oct 2012 21:38:16 -0700 (PDT) Received: by 10.68.212.99 with SMTP id nj3mr3671858pbc.20.1349498296579; Fri, 05 Oct 2012 21:38:16 -0700 (PDT) Date: Fri, 5 Oct 2012 21:38:16 -0700 (PDT) From: harilal pillai To: nodejs@googlegroups.com Message-Id: In-Reply-To: References: <9d5954cc-caaa-452c-b1ec-5c59709bdc5e@googlegroups.com> Subject: Re: nodejs in windows MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_418_12815574.1349498296209" ------=_Part_418_12815574.1349498296209 Content-Type: multipart/alternative; boundary="----=_Part_419_5466703.1349498296209" ------=_Part_419_5466703.1349498296209 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ' to use the module. > > If you are running within a webserver, you need to install it locally with > 'npm install ' > > 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 >> > ------=_Part_419_5466703.1349498296209 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable thanks for the reply..

@ Bert Thanks for it.. 

@BlondAngelNY= C    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?
=

<= font class=3D"Apple-style-span" color=3D"#000000">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 Ex= pressJS for two projects.  This is what I have learned:

=
If you are running things from the commandline, you can use 'npm insta= ll -g <name>' to use the module.

If you are = running within a webserver, you need to install it locally with 'npm instal= l <name>'

Once I understood the distinc= tion, then everything makes sense.

On Friday, October 5, 2012 7:51:3= 5 AM UTC-4, Bert Belder wrote:
On Fr= iday, 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 socke= t io. I tried to create some sample application in E:\harila= l\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.io for 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 environ= ment variable. On the command line enter
  set HOME=3D%USERPROFILE%

By the way= , installing socket.io f= or every app is sort of the recommended way of doing things.

- Bert<= br>
------=_Part_419_5466703.1349498296209-- ------=_Part_418_12815574.1349498296209--