Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give node version requirements in the install instructions #269

Open
benhowes opened this issue Sep 4, 2013 · 2 comments
Open

Give node version requirements in the install instructions #269

benhowes opened this issue Sep 4, 2013 · 2 comments

Comments

@benhowes
Copy link

benhowes commented Sep 4, 2013

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 :)

@lukespragg
Copy link

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

@hermansc
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants