Fixing React Native link issue
error Unrecognized command "link". info Run "react-native --help" to see a list of all available commands.
Table of contents
React native Link issue
If you are trying to add your assets using react-native link command, you may see that it throws an error, saying
error Unrecognized command "link". info Run "react-native --help" to see a list of all available commands.
Error
error Unrecognized command "link". info Run "react-native --help" to see a list of all available commands.
Reason
With the new react-native version 0.69
, link and unlink commands have been removed. Here is a screenshot of the update.
Fix
As of now, since some libraries don't support the auto-linking, try using an older version of react-native.
If your issue isn't still solved, check this out Github issue.