Open shashwatahalder01 opened 1 year ago
Hi, This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.
See https://github.com/WordPress/gutenberg/pull/49962#issuecomment-1557513752
One needs to add a custom wp-cli.yml
file telling WP-CLI that mod_rewrite is available. Then the .htaccess
file seems to be created reliably, at least on my local computer.
Strangely, I didn't get those warnings on GitHub Actions myself.
Perhaps you could give it a try?
If it works, IMHO wp-env could potentially set up this file by default to make everyone's lives easier.
Hi, This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.
Hi @shashwatahalder01 - were you able to try out the suggestion mentioned in the previous comment?
@jordesign - I tried the suggested soln. and it worked just fine. However, for my project, I kept a .htacess file in my repo and mapped that file in the .wp-env file. I agree with @swissspidy that wp-env should set up this file by default to make everyone's lives easier.
Description
Tried to update the permalink from plain to pretty using wp cli. Still getting errors on git action Linux environment. CLI commands don't work on both env: development and test
The issue should be fixed by this PR. Is the issue still exist or I am doing something wrong?
Git Action:
.wp-env.json:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
"@wordpress/env": "^7.0.0"
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes