@heroui/react cannot be hoisted to the root by npm (peer dep constraints) and is installed at apps/storefront/node_modules/ instead. The builder stage was only copying /app/node_modules, leaving @heroui/react absent when next build ran. Switch to COPY --from=deps /app/ ./ so both root and workspace-level node_modules are present, then COPY full/ . layers the source on top. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3.5 KiB
3.5 KiB