해당 글에서는 react-native 환경에서 로컬 환경에서 디바이스를 실행할때 발생하였던 오류에 대해 알아봅니다.
1) 문제점
💡 Execution failed for task ':app:createBundleDevDebugJsAndAssets'. 문제가 발생하였습니다.
- 해당 오류는 개발 또는 디버그 빌드 과정에서 발생합니다. 이 오류는 앱의 JavaScript와 assets 번들을 생성하는 과정에서 문제가 있다는 것을 나타냅니다
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed
for task :app: createBundleDevDebugJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1
* 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>
BUILD FAILED in 2m error Failed
to install the app.
info Run CLI with -verbose flag for more details.