react-native-airbnb-clone icon indicating copy to clipboard operation
react-native-airbnb-clone copied to clipboard

error: bundling failed: Error: While resolving module `react-native-vector-icons/FontAwesome`

Open imandyie opened this issue 7 years ago • 2 comments

If you're getting the following error:

error: bundling failed: Error: While resolving module react-native-vector-icons/FontAwesome, the Haste package react-native-vector-icons was found. However the module FontAwesome could not be found within the package. Indeed, none of these files exist:

the following command should fix it: rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json

Source: https://github.com/oblador/react-native-vector-icons/issues/626

imandyie avatar Feb 07 '18 19:02 imandyie

It's an RN issue https://github.com/facebook/react-native/issues/17610

Will be fixed by https://github.com/facebook/react-native/pull/17672

Workaround https://github.com/oblador/react-native-vector-icons/issues/626#issuecomment-362386341

MoOx avatar Feb 08 '18 13:02 MoOx

import {Ionicons} from '@expo/vector-icons' this might help

yshwanth avatar Mar 06 '19 12:03 yshwanth