Ignite: Suggest troubleshooting tips when missing environment prerequisites

Created on 6 Nov 2016  路  2Comments  路  Source: infinitered/ignite

The first time I tried ignite new Project, my Android prerequisite was not found, which led to the Android build failing.

screen shot 2016-11-06 at 1 03 32 pm

In my case, it came down to missing android in my PATH (when I installed RN ages ago, I don't think this wasn't needed), but I only figured that out by searching for similar git issues on this repo.

It would be super helpful to display suggestions to the user in the case of a missing prerequisite. For example, if Android is missing, some combination of these suggestions would be helpful:

  • Unable to find 'android' in your PATH.
  • Unable to find 'ANDROID_HOME' environment variable.
  • Make sure you've followed the latest react-native setup instructions at https://facebook.github.io/react-native/docs/getting-started.html before using ignite.
  • If you're only targeting iOS, you may continue now and set up Android another time. The Android files will all be generated, but the build will fail.
bug in progress

Most helpful comment

/gif IT SHALL BE DONE!

All 2 comments

/gif IT SHALL BE DONE!

Bump, just installed it with $ANDROID_HOME in my path and still got the Missing android error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ron-liu picture ron-liu  路  4Comments

NikitaVr picture NikitaVr  路  3Comments

lichao0817 picture lichao0817  路  3Comments

GantMan picture GantMan  路  3Comments

orozcojair picture orozcojair  路  3Comments