React-native-vector-icons: Cannot read property 'pbxprojPath' of null

Created on 12 Apr 2018  路  4Comments  路  Source: oblador/react-native-vector-icons

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

Most helpful comment

react-native upgrade should fix your issue

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings