Fixing React Native link issue

Desi ProgrammerDesi Programmer
1 min read

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.

Pasted image 20220720010823.png

Reason

With the new react-native version 0.69, link and unlink commands have been removed. Here is a screenshot of the update.

Pasted image 20220720010657.png

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.

0
Subscribe to my newsletter

Read articles from Desi Programmer directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Desi Programmer
Desi Programmer

As a YouTube content creator, I specialize in producing high-quality videos related to cutting-edge technologies and frameworks. My areas of expertise include Flutter, Express.js, Laravel, React JS, Angular, .Net , Native Android and iOS development, Django, Tkinter and Full Stack Development. Whether you're a beginner or an advanced user, my videos are designed to help you stay up-to-date with the latest trends and techniques in the field. Join me on my channel to discover new ways to expand your skills and take your projects to the next level.