-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
[Status] To doIssue marked as TodoIssue marked as Todo
Description
Issue Description
When trying to set up a fresh WP local dev environment using the instructions mentioned here, the user may face some errors which need to be fixed to have the environment up and running. So it will be great if we add any possible issues facing users with suggested solutions.
URL of the Page with the Issue
Section of Page with the issue
Why is this a problem?
When using the cmd npm run env:install => got an error error: could not create new wp-config.php file

Suggested Fix
To resolve that issue:
- Open the localhost URL i.e http://localhost:8889/ => Add database data as
then submit - Create wp-config.php and copy-paste the code here
then click run the installation - Try to login to the dashboard using credentials here => if it didn't work like that

then create a new admin user using
npm run env:cli -- wp user create admin [email protected] --display_name=test --role=administrator --user_pass=password
Notes
- Used OS is Ubuntu 23.04
- We may have a better solution to the same problem than the one mentioned above, please feel free to share it after testing.
- Other kinds of problems may face other users based on the environment, will be great if we can build up on this and add anything further that may come up => if many issues are there, then we can create a new troubleshooting page and add a link to the troubleshooting page in the readme file for simplicity.
Metadata
Metadata
Assignees
Labels
[Status] To doIssue marked as TodoIssue marked as Todo