Next.js Discord

Discord Forum

Cryptic build error "TypeError: p is not a function"

Unanswered
Dwarf Crocodile posted this in #help-forum
Open in Discord
Dwarf CrocodileOP
I'm attempting to build static pages for my nextjs project. I have the following packages:

    "@hookform/resolvers": "^3.9.0",
    "@prismicio/client": "^7.11.1",
    ...
    "@radix-ui/react-visually-hidden": "^1.1.0",
    "@studio-freight/react-lenis": "^0.0.47",
    "embla-carousel-react": "^8.3.0",
    "firebase": "^10.13.1",
    "framer-motion": "^11.5.2",
    "i18next": "^23.12.2",
    "lucide-react": "^0.439.0",
    "next": "14.2.5",
    "react": "^18",
    "react-dom": "^18",
    "react-hook-form": "^7.53.1",
    "react-i18next": "^15.0.0",
    "sharp": "^0.33.5",
    "swr": "^2.2.5",
    "tailwind-merge": "^2.5.2",
    "tailwindcss-animate": "^1.0.7",
    "uuid": "^10.0.0",
    "vaul": "^1.1.0",
    "zod": "^3.23.8"

1 Reply

Dwarf CrocodileOP
I have no idea what the erorr means as it points to files inside node_modules with single letter names.