Next.js Discord

Discord Forum

munmap_chunk(): invalid pointer

Unanswered
Manx posted this in #help-forum
Open in Discord
ManxOP
Hi Guys, I'm trying to deploy a NextJS 14 project, built using, tailwind CSS, mongoDB. But sadly I'm getting this error at my build log.
Locally it works perfectly and it builts. I also could deploy at netlify but I'd like to deploy this at vercel ( client request ).
Does someone found any solution for it? I've tried Github discussions, but I couldn't find something that helped me.

3 Replies

Post the complete error logs, also what is your node version and nextjs version?
What other packages are you using?
ManxOP
Sorry for the missing data Clown.
I'm using node 20.15.0 ( --lts ), both project and vercel deployment setting.
I'm using these dependencies
"@next/font": "^14.2.4",
"@plaiceholder/next": "^3.0.0",
"@prisma/client": "^5.15.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@tailwindcss/aspect-ratio": "^0.4.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"embla-carousel-autoplay": "^8.1.5",
"embla-carousel-react": "^8.1.5",
"framer-motion": "^11.2.10",
"googleapis": "^137.1.0",
"lottie-web": "^5.12.2",
"lucide-react": "^0.367.0",
"mongodb": "^6.8.0",
"next": "^14.2.3",
"plaiceholder": "^3.0.0",
"react": "^18",
"react-countup": "^6.5.3",
"react-dom": "^18",
"react-easy-swipe": "^0.0.23",
"react-hook-form": "^7.51.4",
"react-icons": "^5.2.1",
"react-lottie-player": "^2.0.0",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.4",
"postcss": "^8",
"prisma": "^5.15.0",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}