> nordic-storium@0.1.0 build > next build --turbopack ▲ Next.js 15.5.0 (Turbopack) - Environments: .env.local, .env Creating an optimized production build ... ✓ Finished writing to disk in 14ms ✓ Compiled successfully in 3.9s Linting and checking validity of types ... Failed to compile. ./src/app/api/auth/forgot-password/route.ts 41:15 Warning: 'resetUrl' is assigned a value but never used. @typescript-eslint/no-unused-vars ./src/app/api/auth/google/callback/route.ts 36:13 Warning: Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-explicit-any'). 41:18 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any ./src/app/api/auth/login/route.ts 4:24 Warning: 'AuthResponse' is defined but never used. @typescript-eslint/no-unused-vars ./src/app/api/auth/me/route.ts 56:75 Warning: 'country' is assigned a value but never used. @typescript-eslint/no-unused-vars ./src/app/api/auth/register/route.ts 3:24 Warning: 'generateToken' is defined but never used. @typescript-eslint/no-unused-vars 4:10 Warning: 'RegisterRequest' is defined but never used. @typescript-eslint/no-unused-vars 4:27 Warning: 'AuthResponse' is defined but never used. @typescript-eslint/no-unused-vars ./src/app/login/page.tsx 157:18 Warning: 'err' is defined but never used. @typescript-eslint/no-unused-vars ./src/app/me/page.tsx 8:28 Warning: 'UserIcon' is defined but never used. @typescript-eslint/no-unused-vars 692:49 Warning: Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element ./src/app/register/page.tsx 173:18 Warning: 'err' is defined but never used. @typescript-eslint/no-unused-vars ./src/app/teori/page.tsx 182:17 Warning: Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element ./src/components/ImageWithFallback.tsx 23:9 Warning: Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element 27:5 Warning: Using `` could result in slower LCP and higher bandwidth. Consider using `` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element ./src/components/Navbar.tsx 3:23 Warning: 'useRouter' is defined but never used. @typescript-eslint/no-unused-vars 15:28 Warning: 'loading' is assigned a value but never used. @typescript-eslint/no-unused-vars ./src/context/AuthContext.tsx 5:21 Warning: 'usePathname' is defined but never used. @typescript-eslint/no-unused-vars ./src/lib/validation.ts 165:18 Warning: 'e' is defined but never used. @typescript-eslint/no-unused-vars 206:14 Warning: 'error' is defined but never used. @typescript-eslint/no-unused-vars info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules