amplify-backend
amplify-backend copied to clipboard
Deployed app return 500 internal server error
Environment information
{
"name": "assistme-core",
"version": "0.0.2",
"lockfileVersion": 3,
"requires": true,
"private": true,
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"scripts": {
"prebuild": "shx cp generated/openapi-client/openapi.yml public/openapi-client.yml && shx cp generated/openapi-server/openapi.yml public/openapi-server.yml",
"dev": "next dev",
"build": "next build",
"postinstall": "prisma generate",
"prettier": "prettier --write ./src *.{ts,js}",
"format:write": "prettier --write \"**/*.{css,js,json,jsx,ts,tsx}\"",
"format": "prettier \"**/*.{css,js,json,jsx,ts,tsx}\"",
"start": "next start",
"lint": "next lint",
"test": "jest --runInBand",
"test:watch": "jest --watch --runInBand",
"test:e2e": "playwright test",
"db:migrate": "npx prisma migrate dev",
"db:seed": "npx prisma db seed",
"dx": "dotenv -e ../.env -- npm i && npm run db:reset && npm run db:seed:examples && npm run dev",
"lint:fix": "dotenv -e ../.env -- next lint --fix",
"clean": "rm -rf node_modules",
"db:reset": "dotenv -e ../.env npx -- prisma migrate reset",
"db:deploy": "dotenv -e ../.env npx -- prisma migrate deploy",
"db:seed:examples": "dotenv -e ../.env -- npx prisma db seed -- --environment examples",
"db:seed:load": "dotenv -e ../.env -- npx prisma db seed -- --environment load",
"models:migrate": "dotenv -e ../.env -- tsx scripts/model-match.ts",
"release": "release-it"
},
"dependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
"@aws-sdk/client-s3": "^3.507.0",
"@aws-sdk/lib-storage": "^3.540.0",
"@aws-sdk/s3-request-presigner": "^3.507.0",
"@google-cloud/local-auth": "^3.0.1",
"@heroicons/react": "^2.1.3",
"@hookform/resolvers": "^3.3.2",
"@monaco-editor/react": "^4.6.0",
"@next-auth/prisma-adapter": "^1.0.7",
"@playwright/test": "^1.43.0",
"@preact/signals-react": "^2.1.0",
"@prisma/client": "^5.11.0",
"@qdrant/js-client-rest": "^1.8.0",
"@radix-ui/react-accessible-icon": "^1.0.3",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-context-menu": "^2.1.4",
"@radix-ui/react-dialog": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-menubar": "^1.0.3",
"@radix-ui/react-navigation-menu": "^1.1.3",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-scroll-area": "^1.0.4",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.4",
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.6",
"@react-email/components": "^0.0.25",
"@react-email/render": "^0.0.12",
"@react-oauth/google": "^0.12.1",
"@sentry/nextjs": "^8.32.0",
"@sentry/profiling-node": "^8.32.0",
"@stripe/react-stripe-js": "^2.7.1",
"@stripe/stripe-js": "^3.4.1",
"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-table": "^8.10.7",
"@tanstack/react-virtual": "^3.5.0",
"@tremor/react": "^3.11.1",
"@trpc/client": "^10.44.1",
"@trpc/next": "^10.44.1",
"@trpc/react-query": "^10.44.1",
"@trpc/server": "^10.45.0",
"@upstash/ratelimit": "^0.4.4",
"@vercel/speed-insights": "^1.0.11",
"ai": "^2.2.31",
"bcrypt": "^5.1.1",
"bcryptjs": "^2.4.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"cookie": "^0.6.0",
"date-fns": "^2.30.0",
"decimal.js": "^10.4.3",
"embla-carousel-react": "^8.1.5",
"exponential-backoff": "^3.1.1",
"focus-trap-react": "^10.2.3",
"framer-motion": "^10.16.4",
"glob": "^10.3.10",
"googleapis": "^130.0.0",
"gray-matter": "^4.0.3",
"jest": "^29.7.0",
"jotai": "^2.6.0",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"lucide-react": "^0.370.0",
"micro": "^10.0.1",
"mongodb": "^6.3.0",
"mongoose": "^8.2.3",
"nanoid": "^4.0.2",
"next": "^14.1.4",
"next-auth": "^4.24.7",
"next-mdx-remote": "^4.4.1",
"next-query-params": "^5.0.0",
"next-swagger-doc": "^0.4.0",
"next-themes": "^0.2.1",
"node-mocks-http": "^1.14.1",
"node-rsa": "^1.1.1",
"nodemailer": "^6.9.13",
"papaparse": "^5.4.1",
"posthog-js": "^1.161.5",
"posthog-node": "^4.0.0",
"puppeteer": "^22.4.1",
"raw-body": "^2.5.2",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.48.2",
"react-intersection-observer": "^9.5.3",
"react-joyride": "^2.8.2",
"react-live": "^4.1.6",
"react-markdown": "^9.0.1",
"react-resizable-panels": "^2.0.16",
"react-responsive": "^9.0.2",
"react-router-dom": "^6.22.3",
"react-syntax-highlighter": "^15.5.0",
"react-use": "^17.5.0",
"react18-json-view": "^0.2.7-canary.2",
"reactflow": "^11.10.4",
"rehype-raw": "^7.0.0",
"remark": "^14.0.3",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"sharp": "^0.33.3",
"shx": "^0.3.4",
"socket.io-client": "^4.7.5",
"stripe": "^15.8.0",
"swagger": "^0.7.5",
"swagger-ui-react": "^5.11.0",
"swr": "^2.2.5",
"tailwind-merge": "^2.2.2",
"tailwind-scrollbar": "^3.0.5",
"tiktoken": "^1.0.13",
"trpc": "^0.11.3",
"unist-util-visit": "^5.0.0",
"use-debounce": "^10.0.0",
"use-query-params": "^2.2.1",
"uuid": "^9.0.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@preact/signals-react-transform": "^0.4.0",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.12",
"@testing-library/jest-dom": "^6.1.6",
"@testing-library/react": "^14.2.2",
"@types/bcrypt": "^5.0.2",
"@types/bcryptjs": "^2.4.6",
"@types/cookie": "^0.6.0",
"@types/cors": "^2.8.17",
"@types/eslint": "^8.44.9",
"@types/jest": "^29.5.12",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.14.202",
"@types/node": "^20.9.0",
"@types/nodemailer": "^6.4.14",
"@types/papaparse": "^5.3.14",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.22",
"@types/react-syntax-highlighter": "^15.5.11",
"@types/swagger-ui-react": "^4.18.3",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"autoprefixer": "^10.4.19",
"cors": "^2.8.5",
"eslint": "8.53.0",
"eslint-config-next": "^14.1.4",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-node": "^29.7.0",
"js-tiktoken": "^1.0.10",
"kysely": "^0.27.2",
"playwright": "^1.42.1",
"postcss": "^8.4.38",
"postcss-import": "^16.1.0",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.13",
"prisma": "^5.11.0",
"prisma-erd-generator": "^1.11.2",
"prisma-kysely": "^1.8.0",
"release-it": "^17.0.1",
"sonner": "^1.4.41",
"superjson": "^2.2.1",
"tailwindcss": "^3.4.3",
"tailwindcss-animate": "^1.0.7",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.1",
"typescript": "^5.4.3"
},
"ct3aMetadata": {
"initVersion": "7.13.0"
},
"optionalDependencies": {
"crisp-sdk-web": "^1.0.22"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}"
},
"github": {
"release": true,
"web": true,
"autoGenerate": true,
"releaseName": "v${version}"
},
"plugins": {
"@release-it/bumper": {
"out": {
"file": "./src/constants/VERSION.ts",
"type": "application/typescript"
}
}
}
}
}
Describe the bug
I have next js app.It's builded and deployed properly but when I launch it it returns just 500 internal server error
Reproduction steps
1.Deploy next app 2.Open it