1.2 KiB
1.2 KiB
> @gridpilot/website@0.1.0 build
> next build
▲ Next.js 15.5.9
- Environments: .env.local
Creating an optimized production build ...
✓ Compiled successfully in 3.7s
Skipping linting
Checking validity of types ...
Failed to compile.
./hooks/league/useCreateLeague.ts:7:17
Type error: Return type of exported function has or is using name 'CreateLeagueInput' from external module "/Users/marcmintel/Projects/gridpilot/apps/website/hooks/league/useCreateLeagueWithBlockers" but cannot be named.
5 | * This wrapper maintains backward compatibility while using the new blocker-aware hook
6 | */
> 7 | export function useCreateLeague() {
| ^
8 | return useCreateLeagueWithBlockers();
9 | }
Next.js build worker exited with code: 1 and signal: null
npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /Users/marcmintel/Projects/gridpilot/apps/website
npm error workspace @gridpilot/website@0.1.0
npm error location /Users/marcmintel/Projects/gridpilot/apps/website
npm error command failed
npm error command sh -c next build