one
one copied to clipboard
Invalid post ID
Current Behavior
Error when building for web (running dev server is fine)
[build] page /(feed)/post/[id]+ssr.tsx (with 1 routes)
↦ route /post/:id
Error building static page at /post/:id with id /(feed)/post/[id]+ssr.tsx:
Invalid post ID
Error: Invalid post ID
Expected Behavior
No response
One Version
1.1.486
Platform (Web, iOS, Android)
Windows Subsystem for Linux (Ubuntu-24.04)
Reproduction
> docker-compose up # in separate shell
> bun run db:init
> bun dev # works fine
> bun run build:web # errors
System Info
System:
OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor
Memory: 13.53 GB / 15.57 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 22.16.0 - ~/.nvm/versions/node/v22.16.0/bin/node
Yarn: 1.22.22 - /mnt/c/nvm4w/nodejs/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.16.0/bin/npm
bun: 1.2.14 - ~/.bun/bin/bun
npmPackages:
@biomejs/biome: 1.9.4 => 1.9.4
@dotenvx/dotenvx: ^1.12.1 => 1.44.1
@faker-js/faker: next => 9.8.0
@react-native-community/cli: 15.1.3 => 15.1.3
@tamagui/config: ^1.126.4 => 1.126.13
@tamagui/image-next: ^1.126.4 => 1.126.13
@tamagui/lucide-icons: ^1.126.4 => 1.126.13
@tamagui/vite-plugin: ^1.126.4 => 1.126.13
@types/react: ^18.3.11 => 18.3.23
@vxrn/color-scheme: 1.1.486 => 1.1.486
better-sqlite3: ^11.2.1 => 11.10.0
dotenv: ^16.4.5 => 16.5.0
drizzle-kit: ^0.24.2 => 0.24.2
drizzle-orm: ^0.33.0 => 0.33.0
expo: ~52.0.17 => 52.0.46
expo-modules-core: 2.1.2 => 2.1.2
one: 1.1.486 => 1.1.486
postgres: ^3.4.4 => 3.4.7
react: ~19.0.0 => 19.0.0
react-native: ^0.76.5 => 0.76.9
react-native-reanimated: ~3.16.5 => 3.16.7
react-native-safe-area-context: 4.10.5 => 4.10.5
react-native-screens: 4.4.0 => 4.4.0
react-native-svg: 15.8.0 => 15.8.0
react-native-web: ^0.19.12 => 0.19.13
tamagui: ^1.126.4 => 1.126.13
tsx: ^4.19.0 => 4.19.4
typescript: ^5.7.3 => 5.8.3
vite: ^6.1.0 => 6.3.5