Deploy react + vite error

Hi! I really need your help! I’m trying to deploy my project, but keep getting the same error

Could you please help me?


“compilerOptions”: {
“target”: “ESNext”,
“lib”: [“DOM”, “DOM.Iterable”, “ESNext”],
“module”: “ESNext”,
“moduleResolution”: “Node”,
“jsx”: “react-jsx”,

"useDefineForClassFields": true,
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"baseUrl": "./src",
"paths": {
  "@/*": ["*"]

“include”: [“src/**/*”],
“references”: [{ “path”: “./tsconfig.node.json” }]

Vite Config

import react from ‘@vitejs/plugin-react’;
import path from ‘path’;
import { defineConfig } from ‘vite’;

export default defineConfig({
resolve: {
alias: {
‘@’: path.resolve(__dirname, ‘src’),
extensions: [‘.js’, ‘.jsx’, ‘.ts’, ‘.tsx’],
plugins: [react()],


There’s not a lot we can help with that goes beyond what the error messages are saying. If you have any specific questions about a specific service, reach out to us via the dashboard.

Render Support, UTC+3