Vercel Build Error: Command "npm run build" exited with SIGABRT
Unanswered
English Angora posted this in #help-forum
English AngoraOP
It successfully builds locally but I get this error during vercel deployment:
- Next.js 14.0.3, TypeScript, App Router
Package.json:
next.config.mjs:
> me@1.0.0 build
> next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 14.2.3
Creating an optimized production build ...
free(): invalid size
Error: **Command "npm run build" exited with SIGABRT**- Next.js 14.0.3, TypeScript, App Router
Package.json:
{
"name": "me",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@next/third-parties": "^14.2.3",
"@plaiceholder/next": "^3.0.0",
"cheerio": "^1.0.0-rc.12",
"framer-motion": "^11.2.10",
"kbar": "^0.1.0-beta.45",
"lucide-react": "^0.383.0",
"markdown-to-jsx": "^7.4.7",
"next": "14.2.3",
"nprogress": "^0.2.0",
"plaiceholder": "^3.0.0",
"puppeteer": "^22.10.0",
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@types/node": "^20",
"@types/nprogress": "^0.2.3",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}next.config.mjs:
/** @type {import('next').NextConfig} */
import withPlaiceholder from '@plaiceholder/next';
const nextConfig = {
images: {
domains: ['source.unsplash.com'],
},
experimental: {
serverComponentsExternalPackages: ['@plaiceholder/next'],
},
};
export default withPlaiceholder(nextConfig);2 Replies
@Forest bachac https://github.com/PlayForm/Compress/issues/280
English AngoraOP
The fixes in that issue thread are revolved around that "playform" thing which I have no correlation with. Or am I missing anything?