Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Node.js + Socket.io + Windows 7 / 8?

Node.js + Socket.io + Windows 7 / 8?

Problem

I've been searching everywhere but can't seem to find a solution. Is it possible to install Socket.io on Node.js on Windows 7? If not is there some sort of alternative, or do you know of any future Windows support.

Usually node package manager is used, however I can't find a way of installing that on Windows. http://npmjs.org/

I'm currently using Node.exe (not running it through Cygwin).

This is how i'd imagine it would be installed on windows, if NPM worked:

> npm install socket.io

Node Package Manager now works on Windows 7

Simply install Node.js and type into the windows console npm install socket.io and look in C:\Users\[insert username]\node_modules
Problem courtesy of: Jack

Solution

Confirming that npm install socket.io works perfectly with node.js 0.6.10 on Win7 (remember to run cmd as Administrator).

Solution courtesy of: Velojet

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Node.js + Socket.io + Windows 7 / 8?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×