Heyo,
Astro is now using a new JS proposal called Import Attributes
These are supported (in the current proposed version) in Node.js 18.20+ (ref: Modules: ECMAScript modules | Node.js v22.5.0 Documentation)
The default Node.js version in the v2 build system is 18.17.1 so you will need to update that. You can specify a NODE_VERSION
environment variable with a value of 22
(use latest Node.js v20) or 18.20
(to do a smaller upgrade to unblock) or other.