mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Fix create-astro
regression (#7086)
This commit is contained in:
parent
8d09a14a7b
commit
c5f1275e9d
2 changed files with 5 additions and 9 deletions
5
.changeset/nice-shrimps-search.md
Normal file
5
.changeset/nice-shrimps-search.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'create-astro': patch
|
||||
---
|
||||
|
||||
Fix create astro regression
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue