Try installing webpack without yarn

This commit is contained in:
Bob Mottram 2017-12-04 19:15:13 +00:00
parent f4946f0b15
commit 26f228eb86
1 changed files with 13 additions and 8 deletions

View File

@ -645,16 +645,21 @@ 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 npm install --arch=$NPM_ARCH webpack --no-optional
if [ ! "\$?" = "0" ]; then if [ ! "\$?" = "0" ]; then
echo $'PeerTube failed to add webpack' echo $'PeerTube failed to install webpack'
exit 67342823 exit 68386353
fi
yarn install --ignore-optional
if [ ! "\$?" = "0" ]; then
echo $'PeerTube failed to run yarn install'
exit 63754235
fi fi
#yarn add -D webpack
#if [ ! "\$?" = "0" ]; then
# echo $'PeerTube failed to add webpack'
# exit 67342823
#fi
#yarn install --ignore-optional
#if [ ! "\$?" = "0" ]; then
# echo $'PeerTube failed to run yarn install'
# exit 63754235
#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'