8

react-native link Command link unrecognized

 1 year ago
source link: https://xushanxiang.com/react-native-link-command-unrecognized.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

react-native link Command link unrecognized

作者: xusx 分类: Android 发布时间: 2022-11-14 10:49 浏览:10
react-native.png

如果你执行 react-native link xxx 命令后提示:Command link unrecognized,那么请检查一下 react-native 的安装版本:

npm view react-native version

如果版本高于 0.60(现在一般都用更高版本了),那就不用执行
react-native link xxx  了,因为 React Native 0.60 加入了一个很重要的特性:autolinking,从此项目引入第三方库中的原生依赖再也不用额外调用
react-native link 命令了。

如果觉得我的文章对您有用,请随意赞赏。您的支持将鼓励我继续创作!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK