Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
nodejs in windows
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
harilal pillai  
View profile  
 More options Oct 5 2012, 4:09 am
From: harilal pillai <harilal...@gmail.com>
Date: Fri, 5 Oct 2012 01:09:38 -0700 (PDT)
Local: Fri, Oct 5 2012 4:09 am
Subject: nodejs in windows

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.io
for every app separately. Is it possible to install it in
node installation directory and use it in apps?

Regards
Harilal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bert Belder  
View profile  
 More options Oct 5 2012, 7:51 am
From: Bert Belder <bertbel...@gmail.com>
Date: Fri, 5 Oct 2012 04:51:35 -0700 (PDT)
Local: Fri, Oct 5 2012 7:51 am
Subject: Re: nodejs in windows

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BlondAngelNYC  
View profile  
 More options Oct 5 2012, 10:41 am
From: BlondAngelNYC <pauled...@gmail.com>
Date: Fri, 5 Oct 2012 07:41:14 -0700 (PDT)
Local: Fri, Oct 5 2012 10:41 am
Subject: Re: nodejs in windows

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
harilal pillai  
View profile  
 More options Oct 6 2012, 12:38 am
From: harilal pillai <harilal...@gmail.com>
Date: Fri, 5 Oct 2012 21:38:16 -0700 (PDT)
Local: Sat, Oct 6 2012 12:38 am
Subject: Re: nodejs in windows

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mgutz  
View profile  
 More options Oct 7 2012, 3:19 am
From: mgutz <mario.l.gutier...@gmail.com>
Date: Sun, 7 Oct 2012 00:19:32 -0700 (PDT)
Local: Sun, Oct 7 2012 3:19 am
Subject: Re: nodejs in windows

I don't like installing anything globally since I work on multiple
projects. I like each project to be self contained including the utilities
it requires. For example, coffee. The workaround is to prepend

`node_modules/.bin` to PATH

This way local scripts are used if they exist. Declare command line
utilities under `devDependencies` in package.json.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »