Skip to content

Troubleshooting

Mark Bouslog edited this page Jul 5, 2022 · 9 revisions

With react-native-vector-icons:

$  npm install react-native-vector-icons --save
$  react-native link react-native-vector-icons

Or when encountering a red screen on the emulator referencing an issue with FontAwesome from the vector icons, try:

$   yarn add react-native-vector-icons 
$   react-native start --reset-cache

If the app builds fine in dev and from testflight but keeps getting rejected in the app store for crashing on launch:

https://chelseatroy.com/wp-content/uploads/2020/11/Screen-Shot-2020-11-01-at-8.22.24-PM.png

During iOS deploy process, while archiving in XCode, error including env: node: No such file or directory:

  • see https://github.com/getsentry/sentry-react-native/issues/141 for additional information
  • likely related to using nvm to manage node versions
  • creating symlink ln -s $(which node) /usr/local/bin/node fixed issue (at least in once instance of issue, though may not work in all instances, depends on local node and XCode setup)