Skip to content

Instantly share code, notes, and snippets.

@emmaodia
Created March 13, 2019 13:25
Show Gist options
  • Save emmaodia/72336a6529ef20c3fc81b18a8d7c0622 to your computer and use it in GitHub Desktop.
Save emmaodia/72336a6529ef20c3fc81b18a8d7c0622 to your computer and use it in GitHub Desktop.
Error I get when I run "make setup" on my local machine
$ make prepare-mobile
make[1]: Entering directory '/home/emmanuel/oss-projects/status-react'
scripts/prepare-for-platform.sh android
********************************************************************************************
The current environment doesn't contain the expected versions of node and/or yarn
- node: expected v10.12.0
found v8.12.0 (/usr/bin/node)
- yarn: expected 1.13.0
found 1.13.0 (/usr/bin/yarn)
Please open another console to reload the environment, and then run 'make setup' if necessary.
**********************************************************************************************
Makefile:98: recipe for target 'prepare-android' failed
make[1]: *** [prepare-android] Error 1
make[1]: Leaving directory '/home/emmanuel/oss-projects/status-react'
Error running dependency install 'make prepare-mobile'
+ done
Setup complete!
===============
There are a few manual steps you might want to do:
1. Optionally set up Genymotion if you don't want to use Android Virtual Device:
https://www.genymotion.com
2. Setup Android Development Environment + Simulator:
https://facebook.github.io/react-native/docs/getting-started.html
3. Add your SSH public key to Github if it isn't already in there.
********************************************************************************************
The current environment doesn't contain the expected versions of node and/or yarn
- node: expected v10.12.0
found v8.12.0 (/usr/bin/node)
- yarn: expected 1.13.0
found 1.13.0 (/usr/bin/yarn)
Please open another console to reload the environment, and then run 'make setup' if necessary.
**********************************************************************************************
Makefile:46: recipe for target 'setup' failed
make: *** [setup] Error 1
emmanuel@emmanuel-HP-EliteBook-8460p:~/oss-projects/status-react$ make prepare-mobile
scripts/prepare-for-platform.sh android
********************************************************************************************
The current environment doesn't contain the expected versions of node and/or yarn
- node: expected v10.12.0
found v8.12.0 (/usr/bin/node)
- yarn: expected 1.13.0
found 1.13.0 (/usr/bin/yarn)
Please open another console to reload the environment, and then run 'make setup' if necessary.
**********************************************************************************************
Makefile:98: recipe for target 'prepare-android' failed
make: *** [prepare-android] Error 1
emmanuel@emmanuel-HP-EliteBook-8460p:~/oss-projects/status-react$ node -v
v8.12.0
emmanuel@emmanuel-HP-EliteBook-8460p:~/oss-projects/status-react$ make startdev-android-avd
make prepare-android || make _unknown-startdev-target-_startdev-android-avd
make[1]: Entering directory '/home/emmanuel/oss-projects/status-react'
scripts/prepare-for-platform.sh android
********************************************************************************************
The current environment doesn't contain the expected versions of node and/or yarn
- node: expected v10.12.0
found v8.12.0 (/usr/bin/node)
- yarn: expected 1.13.0
found 1.13.0 (/usr/bin/yarn)
Please open another console to reload the environment, and then run 'make setup' if necessary.
**********************************************************************************************
Makefile:98: recipe for target 'prepare-android' failed
make[1]: *** [prepare-android] Error 1
make[1]: Leaving directory '/home/emmanuel/oss-projects/status-react'
make[1]: Entering directory '/home/emmanuel/oss-projects/status-react'
Unknown target device '_startdev-android-avd'. Supported targets:
startdev-android-avd
startdev-android-genymotion
startdev-android-real
startdev-desktop
startdev-ios-real
startdev-ios-simulator
Makefile:228: recipe for target '_unknown-startdev-target-_startdev-android-avd' failed
make[1]: *** [_unknown-startdev-target-_startdev-android-avd] Error 1
make[1]: Leaving directory '/home/emmanuel/oss-projects/status-react'
Makefile:233: recipe for target '_startdev-android-avd' failed
make: *** [_startdev-android-avd] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment