Skip to content

Build Error #8

@corinloch

Description

@corinloch

Awesome Project but when I bun run build this

445 packages installed [1270.00ms]
root@ssa:~/hanami-manga/frontend# bun run build
$ next build
▲ Next.js 14.2.11

  • Environments: .env

Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types .. ⨯ ESLint: Invalid Options: - Unknown options: useEslintrc, extensions - 'extensions' has been removed.
Linting and checking validity of types .Failed to compile.

src/app/api/user/details/route.ts
Type error: Route "src/app/api/user/details/route.ts" has an invalid "GET" export:
Type "{ params: { id: string; }; }" is not a valid type for the function's first argument.
Expected "NextRequest | Request", got "{ params: { id: string; }; }".

Linting and checking validity of types ..error: script "build" exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions