react-codemod
react-codemod copied to clipboard
Error: react/rename-unsafe-lifecycles command could not be recognized
While running the command npx codemod react/rename-unsafe-lifecycles --target <path> I'm getting the following response
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