Getting some error in
socket.io
./configure
=============================================Configure OUTPUT
==========================
Checking for node.js
Checking for node.js package '
socket.io'...
Checking for node.js package 'underscore'...
Checking for node.js package 'connect'...
Checking for node.js package 'Socket.io-node-client'...
ERROR: Could not find socket.io-client package
https://github.com/remy/Socket.io-node-client
NOTE: This one is tricky since there's no npm package.
Drop repo into /usr/local/lib/node/socket.io.client/
Be sure to recursively clone the repo:
git submodule update --init --recursive
Ultimately you should end up with:
/usr/local/lib/node/socket.io.client/io-client.js
/usr/local/lib/node/socket.io.client/socket.io-node/
/usr/local/lib/node/socket.io.client/socket.io-node/lib/
socket.io/
utils
/usr/local/lib/node/socket.io.client/socket.io-node/support/node-
websocket-client/lib/websocket
==========================================================================================================
But still without this error also, able to install server and
harvester.
The installation of Socket.io-node-client should be as follows
# Manually install Socket.io-node-client, revert submodule
cd /usr/local/lib/node/
socket.io.client
cd socket.io.client
sudo git submodule update --init --recursive
cd socket.io-node
sudo git checkout 0.6.17
On Jun 30, 1:31 pm, Mike Smathers <
msmath...@narrativescience.com>
wrote:
> The following recipe was used to build a Log.io environment on a fresh
> Ubuntu 11.04 install:
>
> # Install node.js dependencies
> sudo apt-get install g++
> sudo apt-get install make
> sudo apt-get install git
> sudo apt-get install libssl-dev
>
> # Download, compile node.js source
> mkdir ~/downloads
> cd downloads
> wget "
http://nodejs.org/dist/node-v0.4.9.tar.gz"
> tar -xzvf node-v0.4.9.tar.gz
> cd node-v0.4.9/
> ./configure
> make
> sudo make install
>
> # Install NPM
> curlhttp://
npmjs.org/install.sh| sudo sh
>
> # Install node.js packages
> sudo npm install -g socket...@0.6.17