Open vivkikkk opened 2 years ago
I also encounter the same problem. "react-native": "0.69.6" does not allow links. How can I solve this problem?
I also encounter the same problem. Do you have any solutions?
any solution?
Any Solution
react-native link with dependency.assets
has been removed after RN >= 0.69, so if anyone still wants to keep using new RN, u should use react-native-asset
instead: guide
module.exports = {
assets: ["node_modules/@ant-design/icons-react-native/fonts"]
};
"packagerOpts": {
"config": "metro.config.js"
}
warn Package @ant-design/icons-react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.