error Failed to install the app.
Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception.
* What went wrong:
Included build '/Users/chaeyun/Documents/tokki-front/node_modules/@react-native-gradle-plugin' does not exist.
* 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
https://github.com/facebook/react-native/issues/36643 에서 발췌.
1️⃣ 첫번째 방법:
includeBuild('../node_modules/react-native-gradle-plugin')
->
includeBuild('../node_modules/@react-native-gradle-plugin')
2️⃣ 첫번째로 변경하였음에도 에러가 발생한다면 두번째 방법:
includeBuild('../node_modules/react-native-gradle-plugin')
->
includeBuild('../node_modules/@react-native/gradle-plugin')
감사합니다! 덕분에 해결했어요!!