tried to run astro build with Starlight, here's the output:
➜ docs git:(main) astro build
/Users/me/Library/pnpm/global/5/.pnpm/@babel+core@7.23.0/node_modules/@babel/core/lib/index.js:13
Object.defineProperty(exports, "buildExternalHelpers", {
^
TypeError: Cannot redefine property: buildExternalHelpers
at Function.defineProperty (<anonymous>)
at Object.<anonymous> (/Users/me/Library/pnpm/global/5/.pnpm/@babel+core@7.23.0/node_modules/@babel/core/lib/index.js:13:8)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (/Users/me/Library/pnpm/global/5/.pnpm/@babel+core@7.23.0/node_modules/@babel/core/lib/config/helpers/config-api.js:16:14)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
Node.js v20.6.0
i didn't even do any modifications, I just did pnpm create astro --template starlight