-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Is there a mirror we chinese could use? #982
Comments
if you are behind a proxy, use it. for instance, in your |
it can be solved by setting up a proxy: https://www.jhipster.tech/configuring-a-corporate-proxy#yarn-configuration |
maybe just install it globally with |
I'm in the process of setting up a light proxy so that future |
@arcanis I'm still think use npm directly is a much simpler solution. if the anser is then I want just to install latest yarn by and infact , to use locale version of yarn(any npm packge) is possible : {
"scripts":{
"yarn" : "./node_modules/yarn/yarn.cmd || ./node_modules/yarn/yarn.sh",
"tsc" :"./node_modueles/typescript/tsc.cmd",
"build": "yarn run yarn run tsc"
// here we make the latest yarn to detect the `yarn` script , and use that directly without the `yarn run yarn` prefix
}
} or even better, directly detect the yarn package in |
and please at least to make a discussion in your team |
New versions will use the Yarn website as source for the binaries (specifically, |
@arcanis when support it |
use yarn@1 for no other way |
Describe the user story
The network is blocked in our country, when we run
yarn set version berry
there will be an net error because the domainhttps://raw.githubusercontent.com/yarnpkg/berry/master/packages/berry-cli/bin/berry.js
is blocked. this is the errorDescribe the solution you'd like
Maybe we can use an mirror options to change the url to
https://cdn.jsdelivr.net/gh/yarnpkg/berry/packages/berry-cli/bin/berry.js
or other url , or even a local file.The text was updated successfully, but these errors were encountered: