Additional peertube dependencies

This commit is contained in:
Bob Mottram 2018-03-31 19:43:57 +01:00
parent 1ccfdc701d
commit 699f7a58b9
1 changed files with 13 additions and 1 deletions

View File

@ -772,10 +772,22 @@ function install_peertube {
git checkout $PEERTUBE_COMMIT -b $PEERTUBE_COMMIT
set_completion_param "peertube commit" "$PEERTUBE_COMMIT"
if ! npm install -g yarn; then
if ! npm install -g yarn@1.5.1; then
echo $'Failed to install yarn'
exit 79353234
fi
if ! npm install minimatch@3.0.2; then
echo $'Failed to install minimatch'
exit 3578356
fi
if ! npm install graceful-fs; then
echo $'Failed to install graceful-fs'
exit 34687246
fi
if ! npm install coffeescript; then
echo $'Failed to install coffeescript'
exit 57385757
fi
yarn add -D webpack --network-concurrency 1
if ! yarn install; then
echo $'Failed to run yarn install'