Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Build android standalone throws Joi error #2277

Closed
byCedric opened this issue Jun 17, 2020 · 1 comment · Fixed by #2278
Closed

Build android standalone throws Joi error #2277

byCedric opened this issue Jun 17, 2020 · 1 comment · Fixed by #2278
Labels
bug Something isn't working

Comments

@byCedric
Copy link
Member

byCedric commented Jun 17, 2020

Description

When running expo build:android I'm running into a joi-related error.

It looks like Joi.strict() is deprecated, in favor of Joi.any().strict(). (see release notes for Joi 16). I see that we upgraded to 17, might be good to check if we have more of these issues in the code.

Expected Behavior

Joi shouldn't fail.

Observed Behavior

Screenshot (96)

Environment

(Running Expo CLI from master)

  Expo CLI 3.21.6 environment info:
    System:
      OS: Linux 4.19 Ubuntu 18.04.4 LTS (Bionic Beaver)
      Shell: 5.4.2 - /usr/bin/zsh
    Binaries:
      Node: 12.16.2 - ~/.nvm/versions/node/v12.16.2/bin/node
      Yarn: 1.22.4 - ~/.nvm/versions/node/v12.16.2/bin/yarn
      npm: 6.14.4 - ~/.nvm/versions/node/v12.16.2/bin/npm
    npmPackages:
      expo: ^37.0.0 => 37.0.0 
      react-native: https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz => 0.61.4 

Reproducible Demo

$ expo build:android -t apk
@byCedric byCedric added the bug Something isn't working label Jun 17, 2020
@byCedric
Copy link
Member Author

I'll dive into this (cc @fson)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant