You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to create a script to init a new Astro project in a non-interactive way in the CLI using the flag-y
and It didn't work as predicted!
example code : pnpm create astro@latest name --template minimal -y
this is what I got :
✔ Using ASTRO_REPO as project directory.
✔ Template copied!
✔ Would you like to install pnpm dependencies? (recommended) … no
◼ No problem! Remember to install dependencies after setup.
✔ Would you like to initialize a new git repository? (optional) … no
◼ Sounds good! You can come back and run git init later.
there was a question about installing dependence and making it and it wasn't prepared for non-interactive which stopped the script from running
What version of
astro
are you using?v16.12.0+
Are you using an SSR adapter? If so, which one?
NONE
What package manager are you using?
pnpm
What operating system are you using?
linux
Describe the Bug
I was trying to create a script to init a new Astro project in a non-interactive way in the CLI using the flag
-y
and It didn't work as predicted!
example code :
pnpm create astro@latest name --template minimal -y
this is what I got :
there was a question about installing dependence and making it and it wasn't prepared for non-interactive which stopped the script from running
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-xgvx5a?file=start.sh
Participation
The text was updated successfully, but these errors were encountered: