You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like yarn 2 releases are done in a different way. Is there anyway to use it with Volta?
$ yarn --version
Volta error: Could not download yarn@2.2.0
from https://github.com/yarnpkg/yarn/releases/download/v2.2.0/yarn-v2.2.0.tar.gz
Please verify your internet connection and ensure the correct version is specified.
Error details written to /Users/SBoudrias/.volta/log/volta-error-2020-09-02_17_48_35.543.log
$ volta install yarn@2.2.0
error: Could not download yarn@2.2.0
from https://github.com/yarnpkg/yarn/releases/download/v2.2.0/yarn-v2.2.0.tar.gz
Please verify your internet connection and ensure the correct version is specified
The text was updated successfully, but these errors were encountered:
Hi @SBoudrias, thanks for asking! We actually just updated Volta to fetch Yarn from registry.npmjs.org instead of the GitHub releases in the most recent release, Version 0.8.7. So that should solve that particular problem.
However, there is still an outstanding issue that may make Volta misbehave with Yarn 2.0: We currently don't support Yarn Plug'n'Play behavior, which is enabled by default in Yarn 2.0. So what you may see is that global binaries that are trying to delegate to the local version will fail, because we are looking for them in node_modules/.bin, which doesn't exist under Yarn 2.0 / PnP.
See #651 and #158 for more info on our previous investigations into Yarn 2.0 and PnP
It looks like yarn 2 releases are done in a different way. Is there anyway to use it with Volta?
The text was updated successfully, but these errors were encountered: