Vercel deployment issue with uploadthing

Tried deploying a repo that I just added uploadthing to, to vercel, and got the following error. Would appreacite any help with fixing the issue! Let me know if their's any info that'll help narrow down the problem!
3 Replies
whatplan
whatplan2y ago
Josh
Josh2y ago
Can we see your package json?
Ben
BenOP2y ago
@josh package.json
{
"name": "name",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"postinstall": "prisma generate && prisma migrate deploy",
"lint": "next lint",
"start": "next start"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"dependencies": {
"@clerk/nextjs": "^4.19.0",
"@hookform/resolvers": "^3.1.0",
"@prisma/client": "^4.15.0",
"@radix-ui/react-alert-dialog": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.3",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.4",
"@t3-oss/env-nextjs": "^0.3.1",
"@tanstack/react-query": "^4.29.7",
"@tanstack/react-table": "^8.9.1",
"@trpc/client": "^10.26.0",
"@trpc/next": "^10.26.0",
"@trpc/react-query": "^10.26.0",
"@trpc/server": "^10.26.0",
"@uploadthing/react": "^4.1.0",
"class-variance-authority": "^0.6.0",
"classnames": "^2.3.2",
"clsx": "^1.2.1",
"lucide-react": "^0.229.0",
"next": "^13.4.2",
"next-themes": "^0.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.44.2",
"superjson": "1.12.2",
"tailwind-merge": "^1.12.0",
"tailwindcss-animate": "^1.0.5",
"uploadthing": "^4.1.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/eslint": "^8.37.0",
"@types/node": "^18.16.16",
"@types/prettier": "^2.7.2",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.6",
{
"name": "name",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"postinstall": "prisma generate && prisma migrate deploy",
"lint": "next lint",
"start": "next start"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"dependencies": {
"@clerk/nextjs": "^4.19.0",
"@hookform/resolvers": "^3.1.0",
"@prisma/client": "^4.15.0",
"@radix-ui/react-alert-dialog": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.3",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.4",
"@t3-oss/env-nextjs": "^0.3.1",
"@tanstack/react-query": "^4.29.7",
"@tanstack/react-table": "^8.9.1",
"@trpc/client": "^10.26.0",
"@trpc/next": "^10.26.0",
"@trpc/react-query": "^10.26.0",
"@trpc/server": "^10.26.0",
"@uploadthing/react": "^4.1.0",
"class-variance-authority": "^0.6.0",
"classnames": "^2.3.2",
"clsx": "^1.2.1",
"lucide-react": "^0.229.0",
"next": "^13.4.2",
"next-themes": "^0.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.44.2",
"superjson": "1.12.2",
"tailwind-merge": "^1.12.0",
"tailwindcss-animate": "^1.0.5",
"uploadthing": "^4.1.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/eslint": "^8.37.0",
"@types/node": "^18.16.16",
"@types/prettier": "^2.7.2",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"autoprefixer": "^10.4.14",
"eslint": "^8.40.0",
"eslint-config-next": "^13.4.2",
"postcss": "^8.4.21",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"prisma": "^4.15.0",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"ct3aMetadata": {
"initVersion": "7.13.1"
}
}
"@typescript-eslint/parser": "^5.59.6",
"autoprefixer": "^10.4.14",
"eslint": "^8.40.0",
"eslint-config-next": "^13.4.2",
"postcss": "^8.4.21",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"prisma": "^4.15.0",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"ct3aMetadata": {
"initVersion": "7.13.1"
}
}
Just had to update to v4.1.1, it was a problem that got patched
Want results from more Discord servers?
Add your server