question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

:app:recordFilesBeforeBundleCommandDebug FAILED

See original GitHub issue

I get the following error message when running ‘react-native run-android’, and cannot get more detailed information even with --stacktrace, --info or --debug options.

:app:recordFilesBeforeBundleCommandDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:recordFilesBeforeBundleCommandDebug'.
> A problem occurred starting process 'command 'node''

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.042 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:21
  • Comments:40 (14 by maintainers)

github_iconTop GitHub Comments

131reactions
seeligdcommented, Apr 29, 2016

I’ve seen this too - similar to @anderson916 in that it’s by no means 100% failing. My workaround is to run ./gradlew --stop (which stops the daemon)

61reactions
cskaynarcommented, Apr 11, 2017

By changing node executable path in build.gradle(app) works for me.

project.ext.react = [
        nodeExecutableAndArgs : ["/usr/local/bin/node"]
];
Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - :app:recordFilesBeforeBundleCommandDebug FAILED ...
What went wrong: Execution failed for task ':app:recordFilesBeforeBundleCommandDebug'. > Process 'command 'node'' finished with non-zero exit value 1.
Read more >
:app:recordFilesBeforeBundleCommandDebug FAILED | Voters ...
:app:recordFilesBeforeBundleCommandDebug FAILED. mkonicek. Moved from https://github.com/facebook/react-native/issues/6875.
Read more >
DesktopAppInstaller | Microsoft Store App Failed installing
When this Appinstaller CSP setting is being deployed to NEW enrolled devices you could end up with some weird errors. With the msstore...
Read more >
app deploy failed - Google Groups
I discover app engine using the tutorials. I already have two succeed deployed services. They work without any problem(React.js and Hapi.js).
Read more >
Windows 10 (1909) Swift 5.2 build error - Compiler
txt" Assertion failed: LastArgWritten == 0, file C:\Users\prafs\swift-base\toolchain\swift\lib\IRGen\GenCall.cpp, line 1868 Stack dump: 0.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found