ニュース詳細detail_idだお
PS C:\Users\owner\Desktop\astro-kobashi> npx @astrojs/upgrade
Need to install the following packages:
@astrojs/upgrade@0.7.3
Ok to proceed? (y) y
astro Integration upgrade in progress.
▲ astro will be updated from v6.1.3 to v7.0.3
▲ @astrojs/cloudflare will be updated from v13.7.0 to v14.0.1
▲ @astrojs/node will be updated from v10.0.4 to v11.0.0
▲ @astrojs/react will be updated from v5.0.3 to v6.0.0
wait Some packages have breaking changes. Continue?
Yes
check Be sure to follow the CHANGELOGs.
astro Upgrade to Astro v7
@astrojs/cloudflare CHANGELOG
@astrojs/node CHANGELOG
@astrojs/react CHANGELOG
██████ Installing dependencies with npm...
+—————+ Houston:
| ^ u ^ Good luck out there.
+—————+
【追記】
❌ 失敗:Astro 7 環境
- Astro:
v7.0.3 - @astrojs/cloudflare:
v14.0.1 - @astrojs/node:
v11.0.0 - @astrojs/react:
v6.0.0 - 結果: Cloudflareで「prerender entry pointが見つからない」というエラーが発生。
⭕ 成功:Astro 6 環境(現在)
- Astro:
v6.1.3 - @astrojs/cloudflare:
v13.7.0 - @astrojs/node:
v10.0.4 - @astrojs/react:
v5.0.3 - 結果: ロックファイル同期(
npm i)後、ビルド・デプロイ共に正常完了。