Check for webpack failure
This commit is contained in:
parent
6bdbc32a5a
commit
f4946f0b15
|
@ -641,23 +641,27 @@ function mesh_install_peertube {
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $PEERTUBE_DIR
|
cd $PEERTUBE_DIR
|
||||||
npm install --arch=$NPM_ARCH -g yarn
|
npm install --arch=$NPM_ARCH -g yarn
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "\$?" = "0" ]; then
|
||||||
echo $'PeerTube Failed to install yarn'
|
echo $'PeerTube Failed to install yarn'
|
||||||
exit 79353234
|
exit 79353234
|
||||||
fi
|
fi
|
||||||
yarn add -D webpack --network-concurrency 1
|
yarn add -D webpack
|
||||||
|
if [ ! "\$?" = "0" ]; then
|
||||||
|
echo $'PeerTube failed to add webpack'
|
||||||
|
exit 67342823
|
||||||
|
fi
|
||||||
yarn install --ignore-optional
|
yarn install --ignore-optional
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "\$?" = "0" ]; then
|
||||||
echo $'PeerTube failed to run yarn install'
|
echo $'PeerTube failed to run yarn install'
|
||||||
exit 63754235
|
exit 63754235
|
||||||
fi
|
fi
|
||||||
npm install --arch=$NPM_ARCH --no-optional
|
npm install --arch=$NPM_ARCH --no-optional
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "\$?" = "0" ]; then
|
||||||
echo $'PeerTube failed to install peertube'
|
echo $'PeerTube failed to install peertube'
|
||||||
exit 7835243
|
exit 7835243
|
||||||
fi
|
fi
|
||||||
npm run build --arch=$NPM_ARCH --no-optional
|
npm run build --arch=$NPM_ARCH --no-optional
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "\$?" = "0" ]; then
|
||||||
echo $'PeerTube failed to build peertube'
|
echo $'PeerTube failed to build peertube'
|
||||||
exit 5293593
|
exit 5293593
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue