Is there a mirror we chinese could use?
See original GitHub issue- I’d be willing to implement this feature
- This feature can already be implemented through a plugin
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 domain https://raw.githubusercontent.com/yarnpkg/berry/master/packages/berry-cli/bin/berry.js
is blocked. this is the error
Resolving berry to a url...
Downloading https://github.com/yarnpkg/berry/raw/master/packages/berry-cli/bin/berry.js...
error An unexpected error occurred: "https://github.com/yarnpkg/berry/raw/master/packages/berry-cli/bin/berry.js: connect ECONNREFUSED 151.101.228.133:443".
info If you think this is a bug, please open a bug report with the information provided in "/home/taoqf/myproj/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/policies for documentation about this command.
Describe 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Chinese magic mirror - Wikipedia
The Chinese magic mirror traces back to at least the 5th century, although their existence during the Han dynasty (206 BC – 24...
Read more >Feng Shui Bagua (Pa Kua) Mirror and Its Usage - The Spruce
Bagua mirrors are not recommended for use unless you work with a qualified feng shui practitioner. When you work with an expert, they...
Read more >Chinese Magic Mirrors are really clever - YouTube
The way they works is really surprising. You can buy Chinese Magic Mirrors from Grand Illusions: https://www.grand-illusions.com/chine.
Read more >Mirror Myths – Chinese Fauna of Mirrors – Mirrorworld Blog
This week in our journey through the mirror myths of various cultures and ages, we look at the very apt Chinese Legend of...
Read more >Chinese Bronze Mirrors - The Australian Museum
Since the nature of reflection is somewhat mysterious, people were prone to associate mirrors with the supernatural. They could, it was believed, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arcanis I’m still think use npm directly is a much simpler solution. a) have you count the project in github that use yarn2 insteal of yarn 1 ? b) does thoese project want to use yarn2 ? c) does any feature in yarn1 is not supported in yarn2
if the anser is a) most project use yarn1 b) they want to use yarn2 c) no or only a few feature that not very commonly used.
then I want just to install latest yarn by
npm insatll -g yarn
and infact , to use locale version of yarn(any npm packge) is possible :
or even better, directly detect the yarn package in
devDependencies
section ofpackage.json
it can be solved by setting up a proxy:
https://www.jhipster.tech/configuring-a-corporate-proxy#yarn-configuration