Update:
I tried to run this using the cloud build. I got the following issue:
Build ended
Step #0 - "build docker image": 1914 modules transformed.
Step #0 - "build docker image": Build ended
Step #0 - "build docker image": Bundle closed
Step #0 - "build docker image": [warn] Fetcher persistence behavior is changing in React Router v7
Step #0 - "build docker image": ┃ You can use the `v3_fetcherPersist` future flag to opt-in early.
Step #0 - "build docker image": ┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_fetcherPersist
Step #0 - "build docker image": ┗
Step #0 - "build docker image": [warn] Route discovery/manifest behavior is changing in React Router v7
Step #0 - "build docker image": ┃ You can use the `v3_lazyRouteDiscovery` future flag to opt-in early.
Step #0 - "build docker image": ┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_lazyRouteDiscovery
Step #0 - "build docker image": ┗
Step #0 - "build docker image": [warn] Relative routing behavior for splat routes is changing in React Router v7
Step #0 - "build docker image": ┃ You can use the `v3_relativeSplatPath` future flag to opt-in early.
Step #0 - "build docker image": ┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_relativeSplatPath
Step #0 - "build docker image": ┗
Step #0 - "build docker image": [warn] Data fetching is changing to a single fetch in React Router v7
Step #0 - "build docker image": ┃ You can use the `v3_singleFetch` future flag to opt-in early.
Step #0 - "build docker image": ┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_singleFetch
Step #0 - "build docker image": ┗
Step #0 - "build docker image": [warn] The format of errors thrown on aborted requests is changing in React Router v7
Step #0 - "build docker image": ┃ You can use the `v3_throwAbortReason` future flag to opt-in early.
Step #0 - "build docker image": ┃ -> https://remix.run/docs/en/2.13.1/start/future-flags#v3_throwAbortReason
Step #0 - "build docker image": ┗
Step #0 - "build docker image": vite v5.4.11 building SSR bundle for production...
Step #0 - "build docker image": transforming...
Step #0 - "build docker image": Error bundling
Step #0 - "build docker image": [Error: Could not load virtual:remix/server-manifest (imported by virtual:remix/server-build): ENOENT: no such file or directory, open '/app/build/client/.vite/manifest.json'] {
Step #0 - "build docker image": errno: -2,
Step #0 - "build docker image": code: 'PLUGIN_ERROR',
Step #0 - "build docker image": syscall: 'open',
Step #0 - "build docker image": path: '/app/build/client/.vite/manifest.json',
Step #0 - "build docker image": pluginCode: 'ENOENT',
Step #0 - "build docker image": plugin: 'remix-virtual-modules',
Step #0 - "build docker image": hook: 'load'
Step #0 - "build docker image": }
Step #0 - "build docker image": The command '/bin/sh -c npm run build' returned a non-zero code: 1
the npm command consists of “vite build && vite build -ssr” and it seems that the second step is failing.
I saw that there was a mention of vite ssr in the recent changelogs, which would coincide with the problems we are facing as our last build is from the 12th of November.
NOTE: In the google log it shows a “null” value right as first character of “[null]virtual:remix/server-manifest” in the line
Step #0 - “build docker image”: [Error: Could not load virtual:remix/server-manifest (imported by virtual:remix/server-build): ENOENT: no such file or directory, open ‘/app/build/client/.vite/manifest.json’] {
but it doesnt transport here
Update 2:
Screenshots of the null values:
https://imgur.com/vZtF9Sj