Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not read script 'C:\Users\nullo\Documents\atc\wrn\whisper.rn\example\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' #262

Open
nullonesix opened this issue Jul 12, 2024 · 0 comments

Comments

@nullonesix
Copy link

PS C:\Users\nullo\Documents\atc\wrn\whisper.rn> yarn example android
yarn run v1.22.22
warning ..\..\package.json: No license field
$ yarn --cwd example android
warning ..\..\..\package.json: No license field
$ react-native run-android
(node:11592) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
'"adb"' is not recognized as an internal or external command,
operable program or batch file.
info Launching emulator...
error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
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


FAILURE: Build failed with an exception.

* Where:
Settings file 'C:\Users\nullo\Documents\atc\wrn\whisper.rn\example\android\settings.gradle' line: 2

* What went wrong:
A problem occurred evaluating settings 'RNWhisperExample'.
> Could not read script 'C:\Users\nullo\Documents\atc\wrn\whisper.rn\example\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' as it 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.

BUILD FAILED in 713ms
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * Where: Settings file 'C:\Users\nullo\Documents\atc\wrn\whisper.rn\example\android\settings.gradle' line: 2 * What went wrong: A problem occurred evaluating settings 'RNWhisperExample'. > Could not read script 'C:\Users\nullo\Documents\atc\wrn\whisper.rn\example\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' as it 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. BUILD FAILED in 713ms.
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant