
[英]Problem with "react-native-vector-icons" in React native
[英]Problem when linking react-native-vector-icons
我刚刚从零开始一个新的react-native项目,添加了react-native-vector-icons,但是当我尝试链接它时,我得到了以下信息,我不知道为什么会这样,我没有做任何更改,这是一个不错的项目。
error Something went wrong while linking. Error: ENOENT: no such file or directory, copyfile 'PROJECTFOLDER/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' -> 'D:\Codes\ReactNative\KosTimer\android\app\src\main\assets\fonts\AntDesign.ttf'
Please file an issue here: https://github.com/react-native-community/react-native-cli/issues
error ENOENT: no such file or directory, copyfile 'PROJECTFOLDER/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' -> 'D:\Codes\ReactNative\KosTimer\android\app\src\main\assets\fonts\AntDesign.ttf'
由于出现此错误,我所有的图标都在正方形内显示为X
* PROJECTFOLDER是我的项目所在的地方
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.