Code in file
build error:
❯ bun run build
$ next build
▲ Next.js 15.0.3
Creating an optimized production build ...
(node:2083) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
(node:2443) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
✓ Compiled successfully
Skipping linting
Checking validity of types ...Failed to compile.
src/app/feed/[format]/route.ts
Type error: Route "src/app/feed/[format]/route.ts" has an invalid "GET" export:
Type "{ params: { format: string; }; }" is not a valid type for the function's second argument.
error: script "build" exited with code 1