-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Env: Error in readWordPressVersion
#43222
Comments
I ran into the same problem. https://github.com/WordPress/gutenberg/pull/42826/files#r933608144 I consider this to be a breaking change and believe that either of the following actions should be taken:
It is also strange that phpVersion allows null while core does not. Personally, I think both properties should accept null. I'd like to hear your thoughts 🙂 |
Actually already have a fix here: #43133 |
The fix will allow |
By the way, for what it's worth, |
The fix should now be available in version 5.1.1 :) |
Description
It looks like either #41780 or #42826 broke wp-env usage for the Preferred Languages feature plugin.
Trying to update to
@wordpress/env
5.1.0 (which includes this change) breakswp-env start
with this error:Step-by-step reproduction instructions
Using a wp-env config file like this:
Try to run
wp-env start
Screenshots, screen recording, code snippet
No response
Environment info
@wordpress/env
5.1.0Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: