Skip to content
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

Error: react/rename-unsafe-lifecycles command could not be recognized #329

Open
shubhraagarwal opened this issue Dec 31, 2024 · 2 comments

Comments

@shubhraagarwal
Copy link

While running the command npx codemod react/rename-unsafe-lifecycles --target <path> I'm getting the following response
image

Even though this solution Originally posted by @parthakshay in #254 (comment) works, either the command given in the documentation needs to be fixed or the documentation should be updated.

Happy to take this issue up and raise a PR for this

@mohab-sameh
Copy link
Contributor

Hi @shubhraagarwal. Thanks for catching and reporting this! If we can adapt rename-unsafe-lifecycles to codemod CLI and publish it to Codemod Registry so that the command in the readme works, that would be great. Otherwise, we can raise a PR to update the doc.

@shubhraagarwal
Copy link
Author

working on this, will publish it to codemod registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants