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

expo upgrade command uses [object Object] as latest SDK version #2556

Closed
jleroy-dev opened this issue Sep 2, 2020 · 3 comments · Fixed by #2557
Closed

expo upgrade command uses [object Object] as latest SDK version #2556

jleroy-dev opened this issue Sep 2, 2020 · 3 comments · Fixed by #2557
Assignees
Labels
bug Something isn't working

Comments

@jleroy-dev
Copy link

Description

When running expo upgrade command without specifying the targeted SDK version, it will use [object Object] instead.

Expected Behavior

When not providing a target SDK version, it should default to latest SDK version.

Observed Behavior

  1. Install expo-cli@26.0.0
  2. Observe following log:
    ? You provided the target SDK version value of [object Object] which does not seem to exist. But hey, I'm just a program, what do I know. Do you want to try to upgrade to it anyways? (Y/n)

Environment

  Expo CLI 3.26.0 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 14.4.0 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 6.14.5 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    IDEs:
      Android Studio: 3.6 AI-192.7142.36.36.6241897
      Xcode: 11.6/11E708 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^38.0.0 => 38.0.10
      react: 16.11.0 => 16.11.0
      react-dom: 16.11.0 => 16.11.0
      react-native: https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz => 0.62.2
      react-native-web: ~0.11.7 => 0.11.7
@jleroy-dev jleroy-dev changed the title expo update command uses [object Object] as latest SDK version expo upgrade command uses [object Object] as latest SDK version Sep 2, 2020
@byCedric byCedric self-assigned this Sep 2, 2020
@byCedric
Copy link
Member

byCedric commented Sep 2, 2020

Hi @jleroy-dev, thanks for the report. I've created a PR that should fix this!

@byCedric byCedric added the bug Something isn't working label Sep 2, 2020
@jleroy-dev
Copy link
Author

Thank you for the fast answer 👍
Awesome package by awesome developers

@brentvatne
Copy link
Member

expo-cli@3.26.1 is out with the fix :) thanks @jleroy-dev for the report!

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.

3 participants