Production build fails #98

Closed
opened 2026-05-27 14:54:13 +00:00 by KattisLej · 1 comment
KattisLej commented 2026-05-27 14:54:13 +00:00 (Migrated from github.com)

Describe the bug

The production build fails

Steps to reproduce

Try building the production, the production doesn't build and gives:
./src/app/components/Pagination.tsx:83:17
11.16 Type error: Type '{ children: Element[]; type: "button"; className: string; onClick: () => void; disabled: boolean; autoComplete: string; }' is not assignable to type 'DetailedHTMLProps<ButtonHTMLAttributes, HTMLButtonElement>'.
11.16 Property 'autoComplete' does not exist on type 'DetailedHTMLProps<ButtonHTMLAttributes, HTMLButtonElement>'.
11.16
11.16 81 | onClick={() => onPageChange(1)}
11.16 82 | disabled={isFirstPage}
11.16 > 83 | autoComplete="off"
11.16 | ^
11.16 84 | >
11.16 85 | <<
11.16 86 | First
11.22 Next.js build worker exited with code: 1 and signal: null

Environment

Production

Expected behavior

  • The production builds with no errors

Additional context

This issue would be valuable as well #78

## Describe the bug The production build fails ## Steps to reproduce Try building the production, the production doesn't build and gives: ./src/app/components/Pagination.tsx:83:17 11.16 Type error: Type '{ children: Element[]; type: "button"; className: string; onClick: () => void; disabled: boolean; autoComplete: string; }' is not assignable to type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'. 11.16 Property 'autoComplete' does not exist on type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'. 11.16 11.16 81 | onClick={() => onPageChange(1)} 11.16 82 | disabled={isFirstPage} 11.16 > 83 | autoComplete="off" 11.16 | ^ 11.16 84 | > 11.16 85 | <span className="d-inline d-sm-none">&lt;&lt;</span> 11.16 86 | <span className="d-none d-sm-inline">First</span> 11.22 Next.js build worker exited with code: 1 and signal: null ### Environment Production ## Expected behavior - [x] The production builds with no errors ## Additional context This issue would be valuable as well #78
alucard210319 commented 2026-05-27 15:33:48 +00:00 (Migrated from github.com)

Hi, I can take a quick look at this.

The failure looks focused: autoComplete is being passed to a button element in Pagination.tsx, and TypeScript rejects it during the production build.

I can either:

  • diagnose the exact fix for $15, or
  • open a small PR with the fix and build verification for $35.

If you prefer volunteer-only contributions, no problem. I can still point out the likely fix briefly.

Hi, I can take a quick look at this. The failure looks focused: `autoComplete` is being passed to a `button` element in `Pagination.tsx`, and TypeScript rejects it during the production build. I can either: - diagnose the exact fix for $15, or - open a small PR with the fix and build verification for $35. If you prefer volunteer-only contributions, no problem. I can still point out the likely fix briefly.
Sign in to join this conversation.
No description provided.