node.js - 设置yarn的下载仓库地址怎么不对
大家讲道理
大家讲道理 2017-04-17 16:20:11
0
3
728

如图,想将 yarn 的仓库地址设置为淘宝的 npm 镜像,但是好像不对。
另,怎么恢复原地址

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
Ty80

The above problem has been solved by directly modifying the .yarnrc file (this file also contains https:registry.npm.taobao.org, which is very strange).
Also, according to everyone’s answers, it seems that no problem like mine has occurred. I don’t know the reason yet. .yarnrc 文件解决(该文件中也是 https:registry.npm.taobao.org,很诡异)。
另,根据大家的回答,似乎都没有出现我这样的问题,现在还不知道原因。

解决方案是:直接修改 .yarnrc

The solution is: directly modify the .yarnrc file🎜
伊谢尔伦

Laxative! ~
Just set the npm source directly. Use the nrm command line tool to switch the nrm source at will.
In my experiment, the source of yarn follows the npm settings. . .
Anyway, this is how I solved it. . . .
Expect better. .

PHPzhong

Thanks for the invitation. But I tried it and the problem you mentioned didn't occur. . .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template