From 6181e5aad4b0075fcaf59c5d427c1dc77d86275d Mon Sep 17 00:00:00 2001 From: MickLesk Date: Tue, 19 May 2026 10:04:17 +0200 Subject: [PATCH] fix(reactive-resume): drop @aws-sdk/client-s3 from cp -rL step @aws-sdk/client-s3 has a pathologically deep pnpm virtual store symlink tree; cp -rL follows the chain into thousands of nested client-s3 dirs causing 'File name too long' errors. S3 is an optional storage backend so skip it. bcrypt, sharp, linkedom and ioredis are unaffected. --- ct/reactive-resume.sh | 4 ---- install/reactive-resume-install.sh | 4 ---- 2 files changed, 8 deletions(-) diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 7e8b6a740..c593ee79f 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -54,10 +54,6 @@ function update_script() { for pkg in bcrypt sharp linkedom ioredis; do [ -d "${RT_MODS}/${pkg}" ] && cp -rL "${RT_MODS}/${pkg}" "${WEB_MODS}/${pkg}" done - if [ -d "${RT_MODS}/@aws-sdk" ]; then - mkdir -p "${WEB_MODS}/@aws-sdk" - cp -rL "${RT_MODS}/@aws-sdk/client-s3" "${WEB_MODS}/@aws-sdk/client-s3" - fi msg_ok "Deployed Nitro Runtime Externals" 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 894fba5bd..1e10a699d 100644 --- a/install/reactive-resume-install.sh +++ b/install/reactive-resume-install.sh @@ -40,10 +40,6 @@ WEB_MODS="/opt/reactive-resume/apps/web/node_modules" for pkg in bcrypt sharp linkedom ioredis; do [ -d "${RT_MODS}/${pkg}" ] && cp -rL "${RT_MODS}/${pkg}" "${WEB_MODS}/${pkg}" done -if [ -d "${RT_MODS}/@aws-sdk" ]; then - mkdir -p "${WEB_MODS}/@aws-sdk" - cp -rL "${RT_MODS}/@aws-sdk/client-s3" "${WEB_MODS}/@aws-sdk/client-s3" -fi msg_ok "Deployed Nitro Runtime Externals" mkdir -p /opt/reactive-resume/data msg_ok "Built Reactive Resume"