diff --git a/.changeset/nice-shrimps-search.md b/.changeset/nice-shrimps-search.md new file mode 100644 index 000000000000..46c236da8043 --- /dev/null +++ b/.changeset/nice-shrimps-search.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Fix create astro regression diff --git a/packages/create-astro/src/actions/dependencies.ts b/packages/create-astro/src/actions/dependencies.ts index 4f7d43ea16af..c9201929abd4 100644 --- a/packages/create-astro/src/actions/dependencies.ts +++ b/packages/create-astro/src/actions/dependencies.ts @@ -26,15 +26,6 @@ export async function dependencies( start: `Dependencies installing with ${ctx.pkgManager}...`, end: 'Dependencies installed', while: () => { - return Promise.reject('Unknown error').catch((e) => { - error('error', e); - error( - 'error', - `Dependencies failed to install, please run ${color.bold( - ctx.pkgManager + ' install' - )} to install them manually after setup.` - ); - }); return install({ pkgManager: ctx.pkgManager, cwd: ctx.cwd }).catch((e) => { error('error', e); error(