Two stage package install

Because it's possible for npm to fail if it has been upgraded
This commit is contained in:
Bob Mottram 2016-08-12 09:33:01 +01:00
parent 79a26d1a38
commit c5f7f36078
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ function install_ipfs_js {
return
fi
apt-get -y install npm libpam0g-dev fuse
apt-get -y install npm
apt-get -y install libpam0g-dev fuse
npm cache clean -f
npm install -g n