You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I'm lost. Any workarounds for this or a way to help me understand the problem?
> next build
▲ Next.js 15.1.4
- Environments: .env
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types ...Failed to compile.
src/app/api/graphql/route.ts
Type error: Route "src/app/api/graphql/route.ts" has an invalid "GET" export:
Type "undefined" is not a valid type for the function's second argument.
Expected "RouteContext", got "undefined".
Static worker exited with code: 1 and signal: null
ERROR: "prod:build" exited with 1.
Process finished with exit code 1
Link to the issue created by nextjs:
vercel/next.js#72525
The text was updated successfully, but these errors were encountered: