Replies: 1 comment
-
Related to #517 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is not possible to do 'npm run android-storybook' as described in contribution guide
The Mapeo app builds correctly and installs in emulator with gradle 'installAppDebug' task.
`
cd android
./gradlew installAppDebug
`
`$ npm run android-storybook
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 2335 file(s) to forward-jetify. Using 16 workers...
info Starting JS server...
info Installing the app...
*** Missing .env file ****
Installing unimodules:
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/@unimodules/core
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/@unimodules/react-native-adapter
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-camera
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-constants
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-document-picker
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-file-system
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-image-loader
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-linear-gradient
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-localization
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-location
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-permissions
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-sensors
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-app-loader
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-barcode-scanner-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-camera-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-constants-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-face-detector-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-file-system-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-font-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-image-loader-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-permissions-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-sensors-interface
[email protected] from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-task-manager-interface
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
What went wrong:
Task 'installStorybookDebug' not found in project ':app'.
Try:
Run gradlew tasks to get a list of available tasks. 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 7s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installStorybookDebug -PreactNativeDevServerPort=8081
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] android-storybook:
react-native run-android --variant=storybookDebug --appIdSuffix=storybook.debug
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] android-storybook script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/arky/.npm/_logs/2021-03-31T17_26_26_777Z-debug.log
`
Beta Was this translation helpful? Give feedback.
All reactions