@wordpress/env 9.0.0 Error on first build. #57243
Labels
Needs Testing
Needs further testing to be confirmed.
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Status] Stale
Gives the original author opportunity to update before closing. Can be reopened as needed.
[Tool] Env
/packages/env
[Type] Bug
An existing feature does not function as intended
Description
What?
Before composer require phpunit, create and authorize the "/.composer" directory.
Change line 250 of 'packages/env/lib/init-config.js' like this.
Why?
Prevents this error from occurring.
/.composer does not exist and could not be created:
I was unable to submit the request due to a pull request permission error.
I apologize for the inconvenience and thank you for your understanding.
Step reproduction instructions
Run 'env WP_ENV_HOME=./new-wordpress wp-env start' in the new directory
The text was updated successfully, but these errors were encountered: