zeon-studio / astroplate

Astroplate is a free starter template built with Astro, TailwindCSS & TypeScript providing everything you need to jumpstart your Astro project. Get started with Astroplate and save yourself hours of work!
https://zeon.studio/preview?project=astroplate
MIT License
576 stars 176 forks source link

Safe update to Astro v4 #23

Closed corradiniste closed 10 months ago

corradiniste commented 10 months ago

When I try to update to V4 I have this error:

astroplate % npx @astrojs/upgrade Need to install the following packages: @astrojs/upgrade@0.2.1 Ok to proceed? (y) y

astro Integration upgrade in progress.

  ◼  @astrojs/sitemap is up to date on v3.0.3
  ●  @astrojs/react will be updated to v3.0.7
  ●  @astrojs/tailwind will be updated to v5.0.3
  ▲  astro will be updated to  v4.0.4 
  ▲  @astrojs/mdx will be updated to  v2.0.1 
  ▲  @astrojs/rss will be updated to  v4.0.1 

wait Some packages have breaking changes. Continue? Yes

check Be sure to follow the CHANGELOGs. astro https://docs.astro.build/en/guides/upgrade-to/v4/ @astrojs/mdx https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md#201 @astrojs/rss https://github.com/withastro/astro/blob/main/packages/astro-rss/CHANGELOG.md#401

██████ Installing dependencies with npm...

  ▲  error Dependencies failed to install, please run the following command manually:

npm install @astrojs/mdx@2.0.1 @astrojs/react@3.0.7 @astrojs/rss@4.0.1 @astrojs/tailwind@5.0.3 astro@4.0.4

Can you suggest any fix?

Thanks!

corradiniste commented 10 months ago

Fixed with: npm install @astrojs/mdx@1.1.5 npm install astro@4.0.0

corradiniste commented 10 months ago

Fixed with: npm install @astrojs/mdx@1.1.5 npm install astro@4.0.0