Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running with --no-interaction still prompts about SQLite file #352

Closed
jacksleight opened this issue Aug 13, 2024 · 1 comment · Fixed by #354
Closed

Running with --no-interaction still prompts about SQLite file #352

jacksleight opened this issue Aug 13, 2024 · 1 comment · Fixed by #354

Comments

@jacksleight
Copy link
Contributor

jacksleight commented Aug 13, 2024

Installer Version

5.8.3

Description

When running the installer with the --no-interaction option you're still prompted about creating the SQLite database file:

laravel new example-app --no-interaction

...


   WARN  The SQLite database configured for this application does not exist: database/database.sqlite.

 ┌ Would you like to create it? ──────────────────────┐
 │ ● Yes / ○ No                                       │
 └────────────────────────────────────────────────────┘

I thought adding the --database=sqlite option might work, but it doesn't seem to.

Steps To Reproduce

Run:

laravel new example-app --no-interaction
Copy link

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants