subway
subway copied to clipboard
Give node version requirements in the install instructions
npm wont install the dependencies with node 6.x (which is the version in the ubuntu repositories). I'm not sure exactly what the version requirement is, but the lowest/highest version would be handy.
Thanks :)
Many Linux distros do not have the latest and greatest Node.js and NPM versions available, so additional steps would be needed, but I do agree that it would help. Right now the Node.js requirement is only found in config.js.
The steps below would get the current Subway repo running on Ubuntu 12.04 for example.
Update packages and install Node.js
sudo apt-get update sudo apt-get install python-software-properties python g++ make sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get install nodejs=0.10.18-1chl1~precise1
Install NPM (Node.js package manager)
curl https://npmjs.org/install.sh | sudo sh npm -v
Is this still an issue? I guess a new version of Ubuntu has been released since the creation of this issue. For the record I successfully installed node and subway's needed packages on Debian Jessie (testing) with the following commands:
$ sudo apt-get install nodejs npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
$ npm install
Node.js is not in wheezy (stable), but you can fetch it from wheezy-backports:
$ sudo echo "deb http://ftp.debian.org/debian wheezy-backports main contrib non-free" >> /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-get install -t wheezy-backports nodejs
$ curl https://www.npmjs.org/install.sh | sudo sh
$ npm install
I haven't tested the last one though (wheezy install).