There is no typo, the website builds without any problems locally.
I even changed the node version on the cloudflare build so it matches the local one I use.
Could not resolve "../layouts/layout.astro" from "src/pages/index.astro"
16:38:30.987 file: /opt/buildhome/repo/src/pages/index.astro
16:38:31.290 error Could not resolve "../layouts/layout.astro" from "src/pages/index.astro"
16:38:31.290 File:
16:38:31.290 /opt/buildhome/repo/src/pages/index.astro
16:38:31.290 Stacktrace:
16:38:31.291 RollupError: Could not resolve "../layouts/layout.astro" from "src/pages/index.astro"
16:38:31.291 at error (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:2287:30)
16:38:31.291 at ModuleLoader.handleInvalidResolvedId (file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:24860:24)
16:38:31.291 at file:///opt/buildhome/repo/node_modules/rollup/dist/es/shared/node-entry.js:24822:26