Closed 0farah closed 1 year ago
The project no longer uses npm
, we have switched to yarn
:
https://github.com/hyperledger/aries-mobile-agent-react-native/blob/main/DEVELOPER.md#running-app-in-android-emulator-with-metro
@0farah Looks like you need to run these instructions from/packages/legacy/
install packages with yarn
then do: yarn run prepare
and you should be all set. Finally just do yarn start
yarn run prepare is throwing error, not sure how to transpile the code.
~/bifold/packages/legacy$ yarn run prepare Usage Error: Couldn't find a script named "prepare".
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only]
When I try to run aries mobile agent react native on Windows, I got an error. I am tryin to run the app on my mobile so I am using "npm run android" What cause of this problem and how can I fix it?
I got these details when I run it with --scan
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'aries-bifold'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 45s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'aries-bifold'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 45s
info Run CLI with --verbose flag for more details.