expo / vector-icons

https://icons.expo.fyi
MIT License
650 stars 113 forks source link

Problem with @expo/vector-icons/Fontisno #119

Closed Silqunz closed 4 years ago

Silqunz commented 4 years ago

How to solve this problem: Unable to resolve "@expo/vector-icons/Fontisto" from "node_modules/react-native-dynamic-vector-icons/lib/components/Icon.tsx" ???

28harishkumar commented 4 years ago

Duplicate https://github.com/expo/vector-icons/issues/112

Rafay3198 commented 4 years ago

Same problem

Unable to resolve "@expo/vector-icons/Fontisto" from "node_modules\native-base\dist\src\basic\IconNB.js"

AdamSalma commented 4 years ago

As mentioned in #112:

npm i --save-exact native-base@2.13.8

emenjivar commented 4 years ago

As mentioned in #112:

npm i --save-exact native-base@2.13.8

thanks, work for me!

mikahJay commented 4 years ago

Thanks - works for me as well!

dharmikvyas commented 4 years ago

To solve it first step to downgrade Native-Base to 2.13.8 npm i --save-exact native-base@2.13.8 than reload and you will get another error invariant violation module appregistry is not a registered callable module so use following command to solve it. npm start --reset-cache

givenm commented 4 years ago

To solve it first step to downgrade Native-Base to 2.13.8 npm i --save-exact native-base@2.13.8than reload and you will get another error invariant violation module appregistry is not a registered callable module so use following command to solve it. npm start --reset-cache

That helped. Thanks

YeisonGomez commented 4 years ago

It works for me, however, the icons in the app no ​​longer work

dharmikvyas commented 4 years ago

In expo no need to install vector icons, still try to install vector icons and run npm install command.

On Fri, 10 Apr, 2020, 5:17 AM YeisonGomez, notifications@github.com wrote:

It works for me, however, the icons in the app no ​​longer work

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/expo/vector-icons/issues/119#issuecomment-611805875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6RUABGTYEUU2ZOM4ZQF5TRLZNARANCNFSM4KJUESGQ .

iamjonbradley commented 4 years ago

I am still having this issue right now.

This is my entire package.json { "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web", "eject": "expo eject" }, "dependencies": { "@expo/vector-icons": "^10.0.0", "expo": "~37.0.3", "expo-font": "~8.1.0", "native-base": "^2.13.8", "react": "~16.9.0", "react-dom": "~16.9.0", "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", "react-native-web": "~0.11.7" }, "devDependencies": { "@babel/core": "^7.8.6", "babel-preset-expo": "~8.1.0" }, "private": true }

krys-dev commented 4 years ago

As mentioned in #112:

npm i --save-exact native-base@2.13.8

Worked for me ! thanks

dharmikvyas commented 4 years ago

I am still having this issue right now.

This is my entire package.json { "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web", "eject": "expo eject" }, "dependencies": { "@expo/vector-icons": "^10.0.0", "expo": "~37.0.3", "expo-font": "~8.1.0", "native-base": "^2.13.8", "react": "~16.9.0", "react-dom": "~16.9.0", "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", "react-native-web": "~0.11.7" }, "devDependencies": { "@babel/core": "^7.8.6", "babel-preset-expo": "~8.1.0" }, "private": true }

have you tried npm start --reset-cache ? and what issue you are getting? please post your error.

brentvatne commented 4 years ago

we added this font in @expo/vector-icons@10.1.0 - install it and you will have it now! it's also listed on https://expo.github.io/vector-icons/

hansbala commented 4 years ago

To solve it first step to downgrade Native-Base to 2.13.8 npm i --save-exact native-base@2.13.8than reload and you will get another error invariant violation module appregistry is not a registered callable module so use following command to solve it. npm start --reset-cache

Nice

jlpaz commented 4 years ago

I've just tried this command but it doesn't work for me.

As mentioned in #112:

npm i --save-exact native-base@2.13.8

hansbala commented 4 years ago

I've just tried this command but it doesn't work for me.

As mentioned in #112: npm i --save-exact native-base@2.13.8

Clear your cache and also run expo start -c to clear your packaging cache

atulchavan10000 commented 4 years ago

we added this font in @expo/vector-icons@10.1.0 - install it and you will have it now! it's also listed on https://expo.github.io/vector-icons/

this fixed my problem. Thanks

brentvatne commented 4 years ago

we show the corresponding version in the header of https://icons.expo.fyi/ now so hopefully that will help!

adarshkhatri commented 4 years ago

expo install fixed for me.