diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs index 368756fb..196dab16 100755 --- a/src/freedombone-utils-nodejs +++ b/src/freedombone-utils-nodejs @@ -35,9 +35,9 @@ VARIANTS='mesh' # change these versions at your peril. Things will often crash if you don't # have specifically the correct versions -NODEJS_VERSION='7.10.0' +NODEJS_VERSION='6.10.1' NODEJS_N_VERSION='2.1.7' -NPM_VERSION='4.2.0' +NPM_VERSION='4.0.5' # This file keeps track of the apps needing nodejs # so that it can be removed if tere are no apps which need it @@ -47,8 +47,8 @@ function mesh_install_nodejs { # Note: this has to be jessie for now wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > ${rootdir}/root/node.gpg.key chroot "${rootdir}" apt-key add /root/node.gpg.key - echo "deb https://deb.nodesource.com/node_7.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list - echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list + echo "deb https://deb.nodesource.com/node_6.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list + echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list chroot "${rootdir}" apt-get update chroot "${rootdir}" apt-get -yq install nodejs curl @@ -152,8 +152,8 @@ function install_nodejs { # Note: this has to be jessie for now wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key apt-key add /root/node.gpg.key - echo "deb https://deb.nodesource.com/node_7.x jessie main" > /etc/apt/sources.list.d/nodesource.list - echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> /etc/apt/sources.list.d/nodesource.list + echo "deb https://deb.nodesource.com/node_6.x jessie main" > /etc/apt/sources.list.d/nodesource.list + echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> /etc/apt/sources.list.d/nodesource.list apt-get update