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.
This commit is contained in:
MickLesk
2026-05-19 10:04:17 +02:00
parent 0938891e77
commit 6181e5aad4
2 changed files with 0 additions and 8 deletions

View File

@@ -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"

View File

@@ -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"