Add --legacy-peer-deps to RTL install to fix install issue

This commit is contained in:
Taylor Helsper 2022-04-04 19:12:51 -05:00
parent 45a458548c
commit d13b889c2a
2 changed files with 2 additions and 2 deletions

View File

@ -726,7 +726,7 @@ if should_install_app "rtl" ; then
sudo -u bitcoin rm RTL.tar.gz
sudo -u bitcoin mv RTL-* RTL
cd RTL
sudo -u bitcoin NG_CLI_ANALYTICS=false npm install --only=production
sudo -u bitcoin NG_CLI_ANALYTICS=false npm install --only=production --legacy-peer-deps
echo $RTL_VERSION > $RTL_VERSION_FILE
else

View File

@ -706,7 +706,7 @@ if [ "$CURRENT" != "$RTL_VERSION" ]; then
sudo -u bitcoin rm RTL.tar.gz
sudo -u bitcoin mv RTL-* RTL
cd RTL
sudo -u bitcoin NG_CLI_ANALYTICS=false npm install --only=production
sudo -u bitcoin NG_CLI_ANALYTICS=false npm install --only=production --legacy-peer-deps
echo $RTL_VERSION > $RTL_VERSION_FILE
fi