expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
778 stars 81 forks source link

Unable to use pinned versions of tools in volta #2131

Open trajano opened 9 months ago

trajano commented 9 months ago

Build/Submit details page URL

No response

Summary

I'm trying to use volta to manage my tool versions, locally things are okay but when I use eas it will be using Yarn 4 rather than yarn 1.

Managed or bare?

managed

Environment

expo-env-info 1.0.5 environment info: System: OS: macOS 14.1.1 Shell: 5.9 - /bin/zsh Binaries: Node: 18.18.2 - ~/.volta/tools/image/node/18.18.2/bin/node Yarn: 1.22.21 - ~/.volta/tools/image/yarn/1.22.21/bin/yarn npm: 9.9.2 - ~/.volta/tools/image/npm/9.9.2/bin/npm Watchman: 2023.11.13.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.14.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8815526 Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild Expo Workflow: managed

EAS Diagnostics

playground ❯ eas diagnostics

  EAS CLI 5.9.1 environment info:
    System:
      OS: macOS 14.1.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.10.0 - ~/.volta/tools/image/node/20.10.0/bin/node
      Yarn: 4.0.2 - ~/.volta/tools/image/yarn/4.0.2/bin/yarn
      npm: 10.2.4 - ~/.volta/tools/image/npm/10.2.4/bin/npm
    Utilities:
      Git: 2.33.0 - /usr/local/bin/git
    Project workflow: managed

Error output

No response

Reproducible demo or steps to reproduce from a blank project

just use volta and eas

szdziedzic commented 9 months ago

Can you send me a link to your build?

trajano commented 9 months ago

It's in a local build. I did find a workaround. Instead of just

eas build

I did

npx -y eas-cli build

And that took the versions from Volta