mybigday / whisper.rn

React Native binding of whisper.cpp.
MIT License
364 stars 20 forks source link

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 2 months ago

nullonesix commented 2 months ago
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.