Repository navigation
fix(docker): copy workspace node_modules (prod crash-loop fix) - #633
Conversation
v2.6.123 crashed in production with ERR_MODULE_NOT_FOUND for lru-cache because Dockerfile only copied root /app/node_modules from deps-production stage. Workspace-pinned deps (lru-cache@10 in bot) live in packages/bot/node_modules/ and were silently absent from the final image.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 6 minutes and 49 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



Root cause of v2.6.123 ERR_MODULE_NOT_FOUND: Dockerfile only copied root /app/node_modules; workspace-pinned deps like lru-cache@10 live in packages/bot/node_modules/ and were absent from final image. Add COPY for both bot and backend workspace node_modules. Already applied manually on server — this is the upstream sync.