Skip to content
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

Unable to use pinned versions of tools in volta #2131

Open
trajano opened this issue Nov 23, 2023 · 2 comments
Open

Unable to use pinned versions of tools in volta #2131

trajano opened this issue Nov 23, 2023 · 2 comments
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@trajano
Copy link
Contributor

trajano commented Nov 23, 2023

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

@trajano trajano added the needs review Issue is ready to be reviewed by a maintainer label Nov 23, 2023
@szdziedzic
Copy link
Member

Can you send me a link to your build?

@trajano
Copy link
Contributor Author

trajano commented Nov 24, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants