{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
@Aetae,
вот packagejson
<code lang="javascript">
{
"name": "support-chat",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"postin \"@next-auth/prisma-adapter\": \"^1.0.7\",\n \"@prisma/client\": \"^5.18.0\",stall": "prisma"
},
"dependencies": {
"@headlessui/react": "^2.1.2",
"@next-auth/prisma-adapter": "^1.0.7",
"@tailwindcss/forms": "^0.5.7",
"@types/cookie": "^0.6.0",
"@types/node": "22.4.1",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"autoprefixer": "10.4.20",
"axios": "^1.7.4",
"bcrypt": "^5.1.1",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"eslint": "8.57.0",
"eslint-config-next": "^0.2.4",
"lodash": "^4.17.21",
"next": "14.2.5",
"next-auth": "^4.24.7",
"next-cloudinary": "^6.10.1",
"next-superjson-plugin": "^0.6.3",
"postcss": "8.4.41",
"pusher": "^5.2.0",
"pusher-js": "^8.4.0-rc2",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "^7.52.2",
"react-hot-toast": "^2.4.1",
"react-icons": "^5.3.0",
"react-select": "^5.8.0",
"react-spinners": "^0.14.1",
"tailwindcss": "^3.2.0",
"typescript": "5.5.3",
"zustand": "^4.5.5"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/lodash": "^4.17.7",
"prisma": "^5.18.0"
}
}
</code>
{
"name": "support-chat",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"postinstall": "prisma"
},
"dependencies": {
"@headlessui/react": "^2.1.2",
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^5.18.0",
"@tailwindcss/forms": "^0.5.7",
"@types/cookie": "^0.6.0",
"@types/node": "22.4.1",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"autoprefixer": "10.4.20",
"axios": "^1.7.4",
"bcrypt": "^5.1.1",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"eslint": "8.57.0",
"eslint-config-next": "^0.2.4",
"lodash": "^4.17.21",
"next": "14.2.5",
"next-auth": "^4.24.7",
"next-cloudinary": "^6.10.1",
"next-superjson-plugin": "^0.6.3",
"postcss": "8.4.41",
"pusher": "^5.2.0",
"pusher-js": "^8.4.0-rc2",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "^7.52.2",
"react-hot-toast": "^2.4.1",
"react-icons": "^5.3.0",
"react-select": "^5.8.0",
"react-spinners": "^0.14.1",
"tailwindcss": "^3.2.0",
"typescript": "5.5.4",
"zustand": "^4.5.5"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/lodash": "^4.17.7",
"prisma": "^5.18.0"
}
}
просто эти импорты были в других файлах и даже не задействованы
после того как я их удалил, о чудо) билд прошел успешно