T
TanStack7h ago
extended-yellow

SSR environment is not ready

What is the reason for this error after deployment? SSR environment is not ready
2 Replies
extended-yellow
extended-yellowOP7h ago
import tailwindcss from '@tailwindcss/vite'
import { devtools } from '@tanstack/devtools-vite'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import viteReact from '@vitejs/plugin-react'
import { nitro } from 'nitro/vite'
import { defineConfig } from 'vite'
import tsConfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
server: {
port: 3000,
},
plugins: [
devtools(),
tsConfigPaths({
projects: ['./tsconfig.json'],
}),
tanstackStart(),
nitro(),
viteReact({
babel: {
plugins: [
[
'babel-plugin-react-compiler',
{
target: '19',
},
],
],
},
}),
tailwindcss(),
],
})
import tailwindcss from '@tailwindcss/vite'
import { devtools } from '@tanstack/devtools-vite'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import viteReact from '@vitejs/plugin-react'
import { nitro } from 'nitro/vite'
import { defineConfig } from 'vite'
import tsConfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
server: {
port: 3000,
},
plugins: [
devtools(),
tsConfigPaths({
projects: ['./tsconfig.json'],
}),
tanstackStart(),
nitro(),
viteReact({
babel: {
plugins: [
[
'babel-plugin-react-compiler',
{
target: '19',
},
],
],
},
}),
tailwindcss(),
],
})
fascinating-indigo
fascinating-indigo4h ago
that's coming from nitro can you provide a complete reproducer project ?

Did you find this page helpful?