Closed korndev closed 4 years ago
Sorry for the delay here. I've never used Valet plus, but it shouldn't affect how wp-cli commands run.
Is this still an issue for you?
I couldn't get it to work as I wanted with valet plus. I've moved on.
If your aaproject
folder already exists, it won't work properly. Run this command from your sites folder, creating a new site that doesn't exist yet.
Thanks for chiming in @GeoJunkie. Indeed the command won't work if a site already exists by the same name but I don't think this was what @korndev was experiencing. The command has a fairly robust set of tests which ensures all of the commands/features are working as expected, but it's possible there may have been something about his environment in particular which was throwing a wrench in things as an edge-case.
Closing this for now, but feel free to reopen with more details about how to reproduce this on the latest version 😄
When running the wp valet new command, I'm getting the following error:
Error: The 'wp-config.php' file already exists.
When I look in the project directory, the wp-config.php file does not exist.
As a side note, in case it matters, I'm using Valet Plus (https://github.com/weprovide/valet-plus)
Full command I'm attempting to run:
WP Cli details
If you need any further details, please let me know.