Closed cyberonics-jasim closed 11 months ago
Facing same issue
same
@cyberonics-jasim is the app not running at all for you? or can you use the library normally with the warning?
Here I can't use the library, it doesn't load the icons
Facing the Same issue since Upgrade of Packages
same
npm install react-native-vector-icons@9.2.0 --save
I think that should help, I see the last commit has a change there for it. Make sure to rebuild your project. ❤️
And
cd iOS pod install
same issue
Alguem tem outra solução?
I have similar issue as well, working fine on ios but not android
eact-native-vector-icons@9.2.0 --save
it's working thanks a lot :)
same issue
npm install react-native-vector-icons@9.2.0 --save
I think that should help, I see the last commit has a change there for it. Make sure to rebuild your project. ❤️
And
cd iOS pod install
thanks a lot!
same issue on Android
Same issue in Android . "react": "17.0.2", "react-native": "^0.71.1",
Unfortunately upgrading to react-native-vector-icons@9.2.0
has not fixed the issue for me (React native 0.71.3
).
npm install react-native-vector-icons@9.2.0 --save Unfortunately upgrading to
react-native-vector-icons@9.2.0
has not fixed the issue for me (React native0.71.3
).
I am also on (React native 0.71.3
) and I am still stuck at the same problem. Did you manage to find a solution ?
Unfortunately upgrading to
react-native-vector-icons@9.2.0
has not fixed the issue for me (React native0.71.3
).I am also on (React native
0.71.3
) and I am still stuck at the same problem. Did you manage to find a solution ?
Actually, the I could avoid this error by updating my react-native-config.js
file. I removed all the props related to vector icons like so:
const VECTOR_ICONS_FONTS_PATH =
'./node_modules/react-native-vector-icons/Fonts'
const VECTOR_FONTS = []
module.exports = {
project: {
ios: {},
android: {},
},
// REMOVE FROME HERE
assets: ['./assets/fonts'],
dependencies: {
// Disable auto linking for `react-native-vector-icons` and link
// the required fonts manually to avoid duplicate resources issue in iOS.
'react-native-vector-icons': {
platforms: {
ios: null,
android: null,
},
assets: VECTOR_FONTS.map(
(font) => VECTOR_ICONS_FONTS_PATH + '/' + font,
),
},
},
// TO HERE
}
I got the same issue react native 0.71.14
If you are experiencing this, you have old code in your react-native-config.js
likely from an RN upgrade.
Follow the README for the latest instructions
warn Package react-native-vector-icons has been ignored because it contains invalid configuration. Reason: "dependency.assets" is not allowed RN version : 0.69