react-codemod icon indicating copy to clipboard operation
react-codemod copied to clipboard

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

Open shubhraagarwal opened this issue 1 year ago • 4 comments

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 https://github.com/reactjs/react-codemod/issues/254#issuecomment-1099067963 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

shubhraagarwal avatar Dec 31 '24 07:12 shubhraagarwal