Temporary npm downgrade
This commit is contained in:
parent
699f7a58b9
commit
2057c6195e
|
@ -776,27 +776,24 @@ function install_peertube {
|
||||||
echo $'Failed to install yarn'
|
echo $'Failed to install yarn'
|
||||||
exit 79353234
|
exit 79353234
|
||||||
fi
|
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
|
yarn add -D webpack --network-concurrency 1
|
||||||
if ! yarn install; then
|
if ! yarn install; then
|
||||||
echo $'Failed to run yarn install'
|
echo $'Failed to run yarn install'
|
||||||
exit 63754235
|
exit 63754235
|
||||||
fi
|
fi
|
||||||
|
if ! npm install -g npm@4; then
|
||||||
|
# https://github.com/KraigM/homebridge-harmonyhub/issues/119
|
||||||
|
echo $'Failed to downgrade npm'
|
||||||
|
exit 3476835
|
||||||
|
fi
|
||||||
if ! npm install; then
|
if ! npm install; then
|
||||||
echo $'Failed to install peertube'
|
echo $'Failed to install peertube'
|
||||||
exit 7835243
|
exit 7835243
|
||||||
fi
|
fi
|
||||||
|
if ! npm install -g "npm@${NPM_VERSION}"; then
|
||||||
|
echo $'Failed to restore npm after downgrade'
|
||||||
|
exit 5737583
|
||||||
|
fi
|
||||||
if ! npm run build; then
|
if ! npm run build; then
|
||||||
echo $'Failed to build peertube'
|
echo $'Failed to build peertube'
|
||||||
exit 5293593
|
exit 5293593
|
||||||
|
|
Loading…
Reference in New Issue