Describe the bugastro build command fails on Astro 5.0.0-beta.6
22:48:48 [purgecss] Generating purged css files...
22:48:48 ▶ /_astro/solutions.0977be13.css
22:48:48 ▶ /_astro/media.8220babf.css
22:48:48 ▶ /_astro/index.7b03b967.css
22:48:48 ▶ /_astro/contact.c71d4ff9.css
22:48:48 ▶ /_astro/about.da0be4a8.css
22:48:48 ▶ /_astro/about.58df5035.css
22:48:48 [purgecss] Generating purged html pages...
The "path" argument must be of type string or an instance of URL. Received an instance of Array
Stack trace:
at fileURLToPath (node:internal/url:1497:11)
at file:///****/node_modules/astro-purgecss/dist/index.js:6:2015
at astro:build:done (file:///****/node_modules/astro-purgecss/dist/index.js:6:2008)
at async runHookBuildDone (file:///****/node_modules/astro/dist/integrations/hooks.js:442:7)
at async AstroBuilder.run (file:///****/node_modules/astro/dist/core/build/index.js:183:7)
Also during the package installation getting the peerDependencies warning:
astro is listed by your project with version 5.0.0-beta.6 (peec57), which doesn't satisfy what astro-purgecss and other dependencies request (^4.16.7 || ^4.16.7).
FWIW there are the following dependencies used in project (among others):
Hey @anotheri thanks for reporting on this, but astro 5 is still in beta release, we plan to add support once the stable version Astro@5.0.0 is released.
Describe the bug
astro build
command fails on Astro5.0.0-beta.6
Also during the package installation getting the
peerDependencies
warning:FWIW there are the following dependencies used in project (among others):