diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube index 27ea2f19..77f285d4 100755 --- a/src/freedombone-app-peertube +++ b/src/freedombone-app-peertube @@ -786,6 +786,7 @@ function install_peertube { echo $'Failed to downgrade npm' exit 3476835 fi + cp /root/.npm-global/bin/npm /usr/local/bin/npm if ! npm install; then echo $'Failed to install peertube' exit 7835243 @@ -794,6 +795,7 @@ function install_peertube { echo $'Failed to restore npm after downgrade' exit 5737583 fi + cp /root/.npm-global/bin/npm /usr/local/bin/npm if ! npm run build; then echo $'Failed to build peertube' exit 5293593