React-native-vector-icons: Unable to resolve module `./create-icon-source-cache`

Created on 15 Jul 2020  路  9Comments  路  Source: oblador/react-native-vector-icons

Does someone has the same problem ?
I have this problem with my project when I build on XCode

Unable to resolve module "./create-icon-source-cache" from "/Users/eonixpro/Git/Bonobo/Safetify/SafetifyMobileWeb/node_modules/react-native-vector-icons/lib/create-icon-set.js" : The module "./create-icon-source-cache" could not be found from "/Users/eonixpro/Git/Bonobo/Safetify/SafetifyMobileWeb/node_modules/react-native-vector-icons/lib/create-icon-set.js".

I'm using react-native : 0.60.6 & react-native-vector-icons: 6.6.0

Most helpful comment

Previously I was getting some issue related to toolbar-android.
I fixed that by removing "^" from react-native-vector-icons: ^6.6.0.

All 9 comments

@AlessioCamm I am also facing same issue but on Android Platform. I didn't try iOS.

react-native: 0.61.0
react-native-vector-icons: 6.6.0

Previously I was getting some issue related to toolbar-android.
I fixed that by removing "^" from react-native-vector-icons: ^6.6.0.

Still not solved yet

any update on this issue?

Experiencing same issue on 6.6.0, having previously been fighting with missing toolbar-android issues.

me too, How to solve this problem

I removed ^ from react-native-vector-icons: ^6.6.0
then npm start --reset-cache

It worked for me

I removed ^ from react-native-vector-icons: ^6.6.0
Then deleted pakage-lock and node modules and did npm i again.
It worked for me 馃槃

Nothing worked for me but removing the package from package.json and doing a fresh install with npm i --save react-native-vector-icons for getting the latest version (7.1.0)

Was this page helpful?
0 / 5 - 0 ratings