mappings
configuration incompatible/breaks on default WP installs for wp-env
#29929
Labels
mappings
configuration incompatible/breaks on default WP installs for wp-env
#29929
Description
I noticed after updating the
wp-env
package locally that if my.wp-env.json
file has amappings
property defined with nocore
property (or explicitly settingcore
tonull
), that executingwp-env start
(installed as a package) results in the following error:I'm not sure of the cause yet but I'm guessing that it's a race condition where the container isn't ready for any mapped files/directories to be set.
As a temporary workaround, explicitly defining the WordPress version to use on the
core
property works fine withmappings
.Step-by-step reproduction instructions
Define a custom
.wp-env.json
file with something like this.Execute the equivalent
wp-env start
for the environment installed as a local package (likely reproduces installed globally as well).Device information
The text was updated successfully, but these errors were encountered: