remove node_modules folder when the installation fails, prevents from broken dependencies
This commit is contained in:
parent
30f00a530e
commit
04ec7658e1
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue