TypeScript -Problem in Vercel

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: TypeScript -Problem in Vercel

by Anonymous » 15 May 2025, 04:43

Wenn ich meine App auf Vercel starte, kann ich dieses Problem für den letzten Tag mit Ausfall konsequent aufnehmen. Die Datei tsconfig.json aus Ihrem Paketrouch (und alle Typenkriptateien in Ihren App- und Seitenverzeichnissen). Neuinstallieren, Herunterfahren von Typscript -Versionen, Typen/Knoten, Typen/Reaktionen usw., die Abhängigkeiten sind vorhanden. Ich hörte Leute über Node_env sprachen, aber ich habe nicht, dass alles funktionieren sollte, aber trotzdem bleibt das Problem bestehen. Meine JSON- und Konfigurationsdatei ist unten als Referenz. < /P>

Code: Select all

{
"name": "euphoniczen",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev --turbopack",
"build": "prisma generate && next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@auth/prisma-adapter": "^2.8.0",
"@base-ui-components/react": "^1.0.0-alpha.8",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/icons-material": "^6.4.11",
"@mui/material": "^6.4.8",
"@mui/styled-engine-sc": "^6.4.6",
"@paddle/paddle-js": "^1.4.0",
"@paddle/paddle-node-sdk": "^2.7.0",
"@paypal/paypal-server-sdk": "^1.0.0",
"@paypal/react-paypal-js": "^8.8.3",
"@prisma/client": "^6.6.0",
"axios": "^1.8.4",
"bootstrap-icons": "^1.11.3",
"date-fns": "^4.1.0",
"dompurify": "^3.2.5",
"dotenv": "^8.2.0",
"flowbite-react": "^0.11.7",
"gsap": "^3.12.7",
"lodash": "^4.17.21",
"lucide-react": "^0.509.0",
"micro": "^10.0.1",
"motion": "^12.5.0",
"next": "15.2.3",
"next-auth": "^5.0.0-beta.25",
"polished": "^4.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-spinners-kit": "^1.9.1",
"styled-components": "^6.1.16",
"zod": "^3.24.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4",
"@types/node": "^20.17.46",
"@types/react": "^19.1.4",
"@types/react-dom": "^19.1.5",
"autoprefixer": "^10.4.21",
"eslint": "^9",
"eslint-config-next": "15.2.3",
"postcss": "^8.5.3",
"prisma": "^6.6.0",
"tailwindcss": "^4.0.15",
"typescript": "^5.8.3"
}
}
< /code>
und meine TypeScript -Konfigurationsdatei < /p>
{
"compilerOptions": {
"target": "ES2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"noEmit": true,
"incremental": true,
"module": "esnext",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
]
},
"include": [
"next-env.d.ts",
".next/types/**/*.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}
i laucnhed es auf Vercel und begegnen Probleme von Typen/etc

Top