I create Nextjs app with bun as a package manager and the app I deploy on Vercel. When I run bun run build
in my local computer, the build running successfully. But at Vercel the build get some error.
This my package.json
for information
{
"name": "portfolio-v4",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix"
},
"dependencies": {
"@plaiceholder/next": "^3.0.0",
"@tanstack/react-query": "^5.51.1",
"clsx": "^2.1.1",
"framer-motion": "^11.3.19",
"mini-svg-data-uri": "^1.4.4",
"moment": "^2.30.1",
"next": "^14.2.5",
"next-themes": "^0.3.0",
"nprogress": "^0.2.0",
"react": "^18",
"react-dom": "^18",
"react-icon-cloud": "^4.1.4",
"react-icons": "^5.2.1",
"sharp": "^0.33.5",
"swiper": "^11.1.9",
"tailwind-merge": "^2.4.0"
},
"devDependencies": {
"@tanstack/react-query-devtools": "^5.12.1",
"@types/node": "^20",
"@types/nprogress": "^0.2.3",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "^14.2.5",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-import-alias": "^1.2.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"postcss": "^8",
"tailwindcss": "^3.4.4",
"typescript": "^5"
}
}