I cloned the repo from https://github.com/WordPress/wordpress-develop.git

After that followed the README file from the downloaded code and installed node dependencies and execute the below commands in sequence for setup

npm install - Working fine
npm run build:dev - Working fine
npm run env:start - Working fine
npm run env:install - Giving error that WP CLI can't create a wp-config.php file. I am stuck at this point

System detail: I am using Docker, NPM NODE, Windows 10 64bit OS

To fix it, I checked out various blog posts and googled them - They all are saying about permission, however, no one clearly says that you have to follow my clear steps.

Screenshot of the error

enter image description here



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.