Description
wp-env recently starting throwing errors when running wp-env start --update.
Issue started after updating Docker Desktop from v4.66.1 to v4.67.0.
Issue stopped occurring after manually reverting Docker Desktop back to v4.66.1, downloaded from the Docker Desktop release notes page.
On Docker Desktop v4.67.0, wp-env doesn't seem to download any external themes or plugins, or correctly link local themes or plugins. Linking a local theme results in a "Stylesheet is missing." error, when the theme does in fact have a style.css file containing the theme metadata.
Here's the CLI Log when running wp-env start --update:
> [email protected] up
> wp-env start --update
✖ afterStart Error:
ℹ Starting 'wp theme activate lab-kit' on the cli container.
Error: Stylesheet is missing.
✖ Command failed with exit code 1
Command failed with exit code 1
Step-by-step reproduction instructions
- Install Docker Desktop
v4.67.0.
- Place a generic
.wp-env.json & package.json config file, try linking external plugins, and a locally linked theme.
- Run
wp-env start --update
Screenshots, screen recording, code snippet
CLI screenshot:

Example wp-env config file:
{
"themes": [ "./site/wp-content/themes/lab-kit" ],
"plugins": [
"./site/wp-content/plugins/lab-kit-blocks",
"https://downloads.wordpress.org/plugin/redirection.latest-stable.zip",
"https://downloads.wordpress.org/plugin/updraftplus.latest-stable.zip",
"https://downloads.wordpress.org/plugin/disable-comments.latest-stable.zip",
"https://downloads.wordpress.org/plugin/wordpress-seo.latest-stable.zip",
"https://downloads.wordpress.org/plugin/intuitive-custom-post-order.latest-stable.zip",
"https://downloads.wordpress.org/plugin/query-monitor.latest-stable.zip"
],
"config": {
"WP_DEBUG": true,
"WP_UPLOAD_MAX_FILESIZE": "128M",
"WP_MEMORY_LIMIT": "256M",
"WP_ENVIRONMENT_TYPE": "development",
"WP_DEVELOPMENT_MODE": "all"
},
"mappings": {
"data": "./data"
},
"lifecycleScripts": {
"afterStart": "wp-env run cli wp theme activate lab-kit"
},
"phpmyadmin": true,
"testsEnvironment": false
}
Environment info
- MacOS (Intel Chip)
wp-env v11.2.0
- Docker Desktop v4.67.0
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
wp-envrecently starting throwing errors when runningwp-env start --update.Issue started after updating Docker Desktop from
v4.66.1tov4.67.0.Issue stopped occurring after manually reverting Docker Desktop back to
v4.66.1, downloaded from the Docker Desktop release notes page.On Docker Desktop
v4.67.0, wp-env doesn't seem to download any external themes or plugins, or correctly link local themes or plugins. Linking a local theme results in a "Stylesheet is missing." error, when the theme does in fact have astyle.cssfile containing the theme metadata.Here's the CLI Log when running
wp-env start --update:Step-by-step reproduction instructions
v4.67.0..wp-env.json&package.jsonconfig file, try linking external plugins, and a locally linked theme.wp-env start --updateScreenshots, screen recording, code snippet
CLI screenshot:
Example
wp-envconfig file:{ "themes": [ "./site/wp-content/themes/lab-kit" ], "plugins": [ "./site/wp-content/plugins/lab-kit-blocks", "https://downloads.wordpress.org/plugin/redirection.latest-stable.zip", "https://downloads.wordpress.org/plugin/updraftplus.latest-stable.zip", "https://downloads.wordpress.org/plugin/disable-comments.latest-stable.zip", "https://downloads.wordpress.org/plugin/wordpress-seo.latest-stable.zip", "https://downloads.wordpress.org/plugin/intuitive-custom-post-order.latest-stable.zip", "https://downloads.wordpress.org/plugin/query-monitor.latest-stable.zip" ], "config": { "WP_DEBUG": true, "WP_UPLOAD_MAX_FILESIZE": "128M", "WP_MEMORY_LIMIT": "256M", "WP_ENVIRONMENT_TYPE": "development", "WP_DEVELOPMENT_MODE": "all" }, "mappings": { "data": "./data" }, "lifecycleScripts": { "afterStart": "wp-env run cli wp theme activate lab-kit" }, "phpmyadmin": true, "testsEnvironment": false }Environment info
wp-envv11.2.0Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.