GeekyAnts / NativeBase

Mobile-first, accessible components for React Native & Web to build consistent UI across Android, iOS and Web.
https://nativebase.io/
MIT License
20.16k stars 2.38k forks source link

Module not found: Can't resolve '@expo/vector-icons/Fontisto #3113

Closed pawanjangle closed 3 years ago

pawanjangle commented 4 years ago

I have gone through these following points

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version

Expected behaviour

Actual behaviour

Steps to reproduce

Is the bug present in both iOS and Android or in any one of them?

Any other additional info which would help us debug the issue quicker.

Important

If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!

joshfester commented 4 years ago

I also get this issue when trying to use 2.13.12 with Expo 37

thecillu commented 4 years ago

I also get this issue when trying to use 2.13.[9-12] with Expo 37

Only the version 2.13.8 seems work

the-codetrane commented 4 years ago

@akhil-geekyants I found the issue and have a PR for it here

sankhadeeproy007 commented 4 years ago

@the-codetrane Please note that this is happening because @expo/icons is using an older version of vector icons. This issue will be fixed once they upgrade the version of vector-icons. Related thread https://github.com/expo/vector-icons/issues/112

juandav commented 4 years ago

The solution to this has already been merged, all that remains is to generate a version to update and use.

https://github.com/expo/vector-icons/pull/126

juandav commented 4 years ago

you can use this for now.

{
  "dependencies": {
    "@expo/vector-icons": "Kaushald4/vector-icons#master"
  }
}
shijiezhou1 commented 4 years ago

you can use this for now.

{
  "dependencies": {
    "@expo/vector-icons": "Kaushald4/vector-icons#master"
  }
}

This work for me but why

kulor commented 4 years ago

Looks like this has been resolved since 10.1.0 (https://github.com/expo/vector-icons/pull/126#issuecomment-619719328). Run a yarn add @expo/vector-icons / npm install @expo/vector-icons to get it.

hanykumar commented 4 years ago

Hi @pawanjangle , please update with the latest "NativeBase": "2.13.14" and "expo": "~38.0.8". Let us know if the issue still persists.

hanykumar commented 3 years ago

Hi @pawanjangle , closing for now. Let us know if the issue still persists.