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 #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