Skip to content

Instantly share code, notes, and snippets.

@luizwhite
Last active February 11, 2021 14:00
Show Gist options
  • Save luizwhite/42d5780d5398588871d2b60dd22cf01f to your computer and use it in GitHub Desktop.
Save luizwhite/42d5780d5398588871d2b60dd22cf01f to your computer and use it in GitHub Desktop.
Cannot run program "node" - React Native
FAILURE: Build failed with an exception.
* Where:
Script '/home/luizmarques/Development/gostack/nivel-03/gobarber-mobile-app-old/node_modules/react-native/react.gradle' line: 32
* What went wrong:
A problem occurred configuring project ':app'.
> Cannot run program "node" (in directory "/home/luizmarques/Development/gostack/nivel-03/gobarber-mobile-app-old/android/app"): error=2, No such file or directory
❯ ./gradlew clean
FAILURE: Build failed with an exception.
* Where:
Script '/home/luizmarques/Development/gostack/nivel-03/gobarber-mobile-app-old/node_modules/react-native/react.gradle' line: 32
* What went wrong:
A problem occurred configuring project ':app'.
> Cannot run program "node" (in directory "/home/luizmarques/Development/gostack/nivel-03/gobarber-mobile-app-old/android/app"): error=2, No such file or directory
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment