managarten/apps-archived/uload/docs/DEPLOYMENT_FIX.md
Till-JS 61d181fbc2 chore: archive inactive projects to apps-archived/
Move inactive projects out of active workspace:
- bauntown (community website)
- maerchenzauber (AI story generation)
- memoro (voice memo app)
- news (news aggregation)
- nutriphi (nutrition tracking)
- reader (reading app)
- uload (URL shortener)
- wisekeep (AI wisdom extraction)

Update CLAUDE.md documentation:
- Add presi to active projects
- Document archived projects section
- Update workspace configuration

Archived apps can be re-activated by moving back to apps/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:03:59 +01:00

1.1 KiB

Deployment Fix Summary

Problem

The Docker build was failing with:

ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

Root Causes:

  1. Missing .svelte-kit directory during build
  2. Missing lucide-svelte dependency

Solutions Applied

1. Fixed Dockerfile

Added SvelteKit sync step before build in Dockerfile:

# Generate .svelte-kit directory first by running vite in prepare mode
RUN npx vite build --mode prepare || true
# Sync SvelteKit files
RUN npx svelte-kit sync

2. Added Missing Dependency

npm install lucide-svelte --legacy-peer-deps

Build Status

Build now completes successfully locally

Deployment Commands

# Build Docker image
docker build -t uload .

# Or deploy directly (if using deployment script)
./deploy.sh

Notes

  • The accessibility warnings (a11y) are non-breaking and can be addressed later
  • The build uses --legacy-peer-deps flag due to version conflicts in dependencies
  • The Dockerfile now properly generates all required SvelteKit files before building