20:34:49 [ERROR] [vite] x Build failed in 3.74s
[vite:build-import-analysis] [plugin vite:build-import-analysis] pages/_prefix_/rss.xml.astro.mjs (1:1): Parse error @:1:1
1 | import { o as objectType, a as stringType, u as unionType, n as numberType, d as dateType, b as arrayType, r as recordType, f as functionType, p as promiseType, c as anyType, e as preprocessType, g as booleanType } from '../../chunks/user-config_CU5WHklU.mjs';
| ^
2 | import { y as yellow } from '../../chunks/astro/server_gqeVL1Yw.mjs';
3 | import { c as config, g as getBlogEntries, a as context, b as getPathWithBase } from '../../chunks/content_D1pq9u3f.mjs';
Stack trace:
at parse$f (file:///Users/visual/Developer/ProjectSources/ChefKiss/ChefKissInc.github.io/node_modules/.pnpm/vite@5.3.4_@types+node@20.14.11/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:20510:585)
at file:///Users/visual/Developer/ProjectSources/ChefKiss/ChefKissInc.github.io/node_modules/.pnpm/rollup@4.19.0/node_modules/rollup/dist/es/shared/node-entry.js:19808:40
ELIFECYCLE Command failed with exit code 1.
The problem turns out to be an upstream issue in Rollup. I'll have to confirm but I should be able to workaround the bug and release a patch for this problem.
Describe the bug
running
pnpm run build
givesTo Reproduce
pnpm up --latest
pnpm run build
Expected behavior
site builds successfully
How often does this bug happen?
Every time
System Info
Additional Context