Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Task 'installStorybookDebug' not found in project ':app' #530

Closed
arky opened this issue Mar 31, 2021 · 1 comment
Closed

Task 'installStorybookDebug' not found in project ':app' #530

arky opened this issue Mar 31, 2021 · 1 comment

Comments

@arky
Copy link
Contributor

arky commented Mar 31, 2021

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

mapeo-mobile@5.1.0 android-storybook /home/arky/Code/Mapeo/mapeo-mobile
react-native run-android --variant=storybookDebug --appIdSuffix=storybook.debug

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...

Configure project :app
Reading env from: .env


*** Missing .env file ****


Installing unimodules:
unimodules-core@5.3.0 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/@unimodules/core
unimodules-react-native-adapter@5.4.0 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/@unimodules/react-native-adapter
expo-camera@8.3.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-camera
expo-constants@9.1.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-constants
expo-document-picker@8.3.0 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-document-picker
expo-file-system@9.0.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-file-system
expo-image-loader@1.1.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-image-loader
expo-linear-gradient@8.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-linear-gradient
expo-localization@8.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-localization
expo-location@8.3.0 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-location
expo-permissions@9.0.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-permissions
expo-sensors@9.0.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/expo-sensors
unimodules-app-loader@1.2.0 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-app-loader
unimodules-barcode-scanner-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-barcode-scanner-interface
unimodules-camera-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-camera-interface
unimodules-constants-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-constants-interface
unimodules-face-detector-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-face-detector-interface
unimodules-file-system-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-file-system-interface
unimodules-font-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-font-interface
unimodules-image-loader-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-image-loader-interface
unimodules-permissions-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-permissions-interface
unimodules-sensors-interface@5.2.1 from /home/arky/Code/Mapeo/mapeo-mobile/node_modules/unimodules-sensors-interface
unimodules-task-manager-interface@5.2.1 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! mapeo-mobile@5.1.0 android-storybook: react-native run-android --variant=storybookDebug --appIdSuffix=storybook.debug
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mapeo-mobile@5.1.0 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
`

@arky
Copy link
Contributor Author

arky commented Apr 1, 2021

Related to #517

@digidem digidem locked and limited conversation to collaborators Oct 1, 2021
@ErikSin ErikSin closed this as completed Oct 1, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants