本文介绍了React-native 链接无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试将 react-native 声音安装并链接到我的项目中.但是,当我在我的项目目录中运行以下命令时,
I tried installing and linking react-native sound into my project. However, when I run the following command in my project directory,
react-native link react-native-sound
图书馆没有链接,我得到以下结果:
the library doesn't link and I get the following result:
Scanning 758 folders for symlinks in /Users/MY_USER_NAME/PROJECT_NAME/node_modules
我认为我的节点或 npm 设置有误.
I think my node or npm setup is wrong.
推荐答案
好的,经过一番挖掘,我发现了问题.https://github.com/facebook/react-native/pull/14863
Ok after some digging, I found the issue.https://github.com/facebook/react-native/pull/14863
也许尝试在本地应用该修复程序,然后应该会起作用.
Maybe try applying that fix locally, it should work then.
这篇关于React-native 链接无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!