Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Address an odd error from ubuntu if we install nodejs and npm in the …

…same invocation of apt-get
  • Loading branch information...
commit 1447e3fdd633b89cb3be027023ec49dbc12bd4fd 1 parent 35e643a
@boutell boutell authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 sc-proxy/install-node-and-mongo-on-ubuntu.bash
View
6 sc-proxy/install-node-and-mongo-on-ubuntu.bash
@@ -15,13 +15,17 @@
# Assumes you have at least Ubuntu 10.04 (I haven't tested further back).
+# We install nodejs and npm in separate steps because of an odd error from
+# Ubuntu if we do it in one call.
+
echo "Installing requirements for building node extensions" &&
apt-get -y install build-essential &&
echo "Installing Node" &&
apt-get -y install python-software-properties &&
add-apt-repository ppa:chris-lea/node.js &&
apt-get -y update &&
-apt-get -y install nodejs npm &&
+apt-get -y install nodejs &&
+apt-get -y install npm &&
echo "Node installed" &&
echo "Installing MongoDB" &&
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 &&

0 comments on commit 1447e3f

Please sign in to comment.
Something went wrong with that request. Please try again.