Skip to content
Extraits de code Groupes Projets
Valider ceccba9d rédigé par mattab's avatar mattab
Parcourir les fichiers

Applying change suggested by travis

npm is included with Node, so there is no separate package for it. Our Node (and npm) is installed with nvm, and as such is not directly available with sudo. Changing the last few lines of the install-ubuntu.sh script to this should work (and removing the install of the npm package):

npm config set loglevel error
npm install .
parent d0b6c3f1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -26,8 +26,9 @@ cd $DIR ...@@ -26,8 +26,9 @@ cd $DIR
travis_retry sudo apt-get -qq install python-software-properties travis_retry sudo apt-get -qq install python-software-properties
travis_retry sudo apt-add-repository -y ppa:chris-lea/node.js > /dev/null travis_retry sudo apt-add-repository -y ppa:chris-lea/node.js > /dev/null
travis_retry sudo apt-get -qq update travis_retry sudo apt-get -qq update
travis_retry sudo apt-get -qq install nodejs #travis_retry sudo apt-get -qq install nodejs
travis_retry sudo apt-get -qq install npm #travis_retry sudo apt-get -qq install npm
cd .. cd ..
sudo npm config set loglevel error npm config set loglevel error
sudo npm install . npm install .
\ No newline at end of file \ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter