Skip to content

Next build failure - missing children typeΒ #1

Description

@bighappyface

Hey there πŸ‘‹

I am receiving the error below after creating the basejump next app and attempting to build.

$ next build
  β–² Next.js 14.2.1

   Creating an optimized production build ...
 βœ“ Compiled successfully
   Linting and checking validity of types  ..Failed to compile.

./src/app/dashboard/(personalAccount)/settings/layout.tsx:5:54
Type error: Binding element 'children' implicitly has an 'any' type.

  3 | import {Separator} from "@/components/ui/separator";
  4 |
> 5 | export default function PersonalAccountSettingsPage({children}) {
    |                                                      ^
  6 |     const items = [
  7 |         { name: "Profile", href: "/dashboard/settings" },
  8 |         { name: "Teams", href: "/dashboard/settings/teams" },
error Command failed with exit code 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions