diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 34222c037..623286a42 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -48,6 +48,10 @@ function update_script() { export NODE_ENV="production" $STD pnpm install --frozen-lockfile $STD pnpm run build + msg_info "Installing Nitro Runtime Externals" + cd /opt/reactive-resume/apps/web + $STD npm install --no-save --no-package-lock bcrypt sharp linkedom + cd /opt/reactive-resume mv /opt/reactive-resume.env.bak /opt/reactive-resume/.env msg_ok "Updated Reactive Resume" diff --git a/install/reactive-resume-install.sh b/install/reactive-resume-install.sh index 0c194fa70..5c79110d9 100644 --- a/install/reactive-resume-install.sh +++ b/install/reactive-resume-install.sh @@ -34,6 +34,10 @@ export NODE_ENV="production" export CI="true" $STD pnpm install --frozen-lockfile $STD pnpm run build +msg_info "Installing Nitro Runtime Externals" +cd /opt/reactive-resume/apps/web +$STD npm install --no-save --no-package-lock bcrypt sharp linkedom +cd /opt/reactive-resume mkdir -p /opt/reactive-resume/data msg_ok "Built Reactive Resume"