BUILD FAILED in 1s error Failed to install the app. Command failed with exit code 1:…
- User
BUILD FAILED in 1s error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * Where: Settings file '/Users/vishalbhojane/Documents/MyCode/rnbasics/android/settings.gradle' line: 2 * What went wrong: Error resolving plugin [id: 'com.facebook.react.settings']
Could not read workspace metadata from /Users/vishalbhojane/.gradle/caches/8.10.2/kotlin-dsl/scripts/05e180db39bdf512a0ab1a9e9f6b4526/metadata.bin * 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 1s. info Run CLI with --verbose flag for more details. vishalbhojane@vishal-bhojane rnbasics %
- Assistant
- User
how to uninstall react native community cli
- Assistant
To uninstall the React Native Community CLI (or any globally installed npm package), you can use the
npm uninstallcommand followed by the package name. If you installed the CLI using npm, here’s how you can uninstall it:-
Open Your Terminal.
-
Run the Uninstall Command: Execute the following command to uninstall the React Native CLI globally:
npm uninstall -g react-native-cliIf you used the newer
@react-native-community/cli, you can also uninstall that package:
-
- User
vishalbhojane@vishal-bhojane rnbasics % react-native run-android (node:41606) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use
node --trace-warnings ...to show where the warning was created) info A dev server is already running for this project on port 8081. info Installing the app...info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
- Assistant