mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
The production stage was copying node_modules to /app, but pnpm creates symlinks pointing to ../../../../../node_modules/.pnpm/ (relative to the app's node_modules location). When the directory structure changed, these symlinks broke, causing "Cannot find package" errors. Fix: - Keep same directory structure in production (/app/apps/*/apps/web) - Copy the root .pnpm store that symlinks point to - Copy the app's node_modules which contains the symlinks Affected apps: todo, manacore, chat, calendar, clock 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| packages/shared | ||
| CLAUDE.md | ||
| package.json | ||