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. .
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,很诡异)。另,根据大家的回答,似乎都没有出现我这样的问题,现在还不知道原因。
解决方案是:直接修改
The solution is: directly modify the.yarnrc
.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. .
Thanks for the invitation. But I tried it and the problem you mentioned didn't occur. . .