T
TanStack2mo ago
sunny-green

SSR environment is not ready

What is the reason for this error after deployment? SSR environment is not ready
6 Replies
sunny-green
sunny-greenOP2mo 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(),
],
})
generous-apricot
generous-apricot2mo ago
that's coming from nitro can you provide a complete reproducer project ?
sunny-green
sunny-greenOP2mo ago
It was working before but now it is generating this error, is there any way to deploy on coolify updated to the RC version?
generous-apricot
generous-apricot2mo ago
are you building for node runtime? then just use the nitro V2 Plugin make sure to remove the nitro v3 plugin from deps
sunny-green
sunny-greenOP2mo ago
Good, it worked, a few days ago it wasn't working
notable-maroon
notable-maroon2mo ago
V2 or V3 ?

Did you find this page helpful?