remove node_modules folder when the installation fails, prevents from broken dependencies

pull/75/head
Peter 'Pita' Martischka 2011-08-09 10:58:43 +01:00
parent 30f00a530e
commit 04ec7658e1
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ if [ ! -f "settings.json" ]; then
fi fi
echo "Ensure that all dependencies are up to date..." echo "Ensure that all dependencies are up to date..."
npm install || exit 1 npm install || rm -rf node_modules; exit 1
echo "Ensure jQuery is downloaded and up to date..." echo "Ensure jQuery is downloaded and up to date..."
DOWNLOAD_JQUERY="true" DOWNLOAD_JQUERY="true"