Skip to content

Build failed with an exception while testing expo_eject branch #10

Closed
@jmiranda

Description

@jmiranda
[jmiranda@jmiranda-ThinkPad-W540 openboxes-mobile (expo_eject)]$ adb devices
List of devices attached
19064521402185	device

[jmiranda@jmiranda-ThinkPad-W540 openboxes-mobile (expo_eject)]$ yarn android
yarn run v1.17.3
$ react-native run-android
warn Package expo-updates has been ignored because it contains invalid configuration. Reason: Cannot find module 'expo-updates/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
warn Package react-native-screens has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-native-screens/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
warn Package react-native-unimodules has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-native-unimodules/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
warn Package react-native-web has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-native-web/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
warn Package babel-jest has been ignored because it contains invalid configuration. Reason: Cannot find module 'babel-jest/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
warn Package jest has been ignored because it contains invalid configuration. Reason: Cannot find module 'jest/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
warn Package react-test-renderer has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-test-renderer/package.json'
Require stack:
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/config/resolveNodeModuleDir.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/tools/releaseChecker/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/runServer.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/start/start.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js
- /home/jmiranda/git/openboxes-mobile/node_modules/react-native/cli.js
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1314 file(s) to forward-jetify. Using 8 workers...
info Starting JS server...
info Installing the app...
Picked up JAVA_TOOL_OPTIONS: -Dhttps.protocols=TLSv1.2

FAILURE: Build failed with an exception.

* Where:
Settings file '/home/jmiranda/git/openboxes-mobile/android/settings.gradle' line: 3

* What went wrong:
A problem occurred evaluating settings 'openboxes-expo'.
> Could not read script '/home/jmiranda/git/openboxes-mobile/node_modules/react-native-unimodules/gradle.groovy' 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 557ms

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:installDebug -PreactNativeDevServerPort=8081
Picked up JAVA_TOOL_OPTIONS: -Dhttps.protocols=TLSv1.2
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions