NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

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

Open pawanjangle opened this issue 6 years ago • 10 comments

I have gone through these following points

  • [] Check latest documentation: https://docs.nativebase.io/
  • [] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
  • [] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
  • [] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
  • [] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
  • [] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

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!

pawanjangle avatar Apr 02 '20 07:04 pawanjangle

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

joshfester avatar Apr 04 '20 18:04 joshfester

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

Only the version 2.13.8 seems work

thecillu avatar Apr 09 '20 08:04 thecillu

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

the-codetrane avatar Apr 11 '20 18:04 the-codetrane

@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

sankhadeeproy007 avatar Apr 13 '20 07:04 sankhadeeproy007

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 avatar Apr 15 '20 13:04 juandav

you can use this for now.

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

juandav avatar Apr 15 '20 13:04 juandav

you can use this for now.

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

This work for me but why

shijiezhou1 avatar Jun 05 '20 17:06 shijiezhou1

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.

kulor avatar Jun 24 '20 23:06 kulor

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 avatar Sep 11 '20 10:09 hanykumar

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

hanykumar avatar Oct 07 '20 07:10 hanykumar