diff --git a/ct/baserow.sh b/ct/baserow.sh index f94d76cb3..c9e8c9493 100644 --- a/ct/baserow.sh +++ b/ct/baserow.sh @@ -48,7 +48,7 @@ function update_script() { msg_info "Rebuilding Frontend" cd /opt/baserow/web-frontend - $STD npm install + $STD npm install --allow-remote=all $STD npm run build msg_ok "Rebuilt Frontend" diff --git a/install/baserow-install.sh b/install/baserow-install.sh index 082dbed93..bd2b61d5d 100644 --- a/install/baserow-install.sh +++ b/install/baserow-install.sh @@ -45,7 +45,7 @@ msg_ok "Installed Backend Dependencies" msg_info "Building Frontend" cd /opt/baserow/web-frontend -NODE_OPTIONS="--max-old-space-size=4096" $STD npm install --legacy-peer-deps +NODE_OPTIONS="--max-old-space-size=4096" $STD npm install --legacy-peer-deps --allow-remote=all NODE_OPTIONS="--max-old-space-size=4096" $STD npm run build msg_ok "Built Frontend"