Version:
system: macOS
npm: 5.8.0
react-native: 0.54.2
react: 16.3.1
create-react-native-app: 1.0.0
Step:
when I initial a react-native app through create-react-native-app
and then use react-native link react-native-vector-icons command
the error message is appeared
expo does not support svgs, see here: https://docs.expo.io/versions/latest/guides/icons.html
Because I use create-react-native-app, the react-native version are behind the master version of repository. When I use the react-native init, all of the problems are removed
react-native upgrade should fix your issue
npm update then react-native link worked for me.
Most helpful comment
react-native upgradeshould fix your issue