yarn install的时候,报镜像路径 returned a 405错误
yarn install的时候错误如下
root@homestead:/home/vagrant/code/weibo# yarn install --no-bin-links
yarn install v1.22.5
info No lockfile found.
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@%5E7.0: Request \"https://registry.yarnpkg.com/@%5E7.0\" returned a 405".
info If you think this is a bug, please open a bug report with the information provided in "/home/vagrant/code/weibo/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
一开始用的是淘宝的镜像,但还是不行,连vpn用国外的路径也是报这个错误.
但是调用yarn -version的时候能查询到版本,也考虑过卸载,但是卸载了也不行.
论坛里的其他解答的方法我也试过了,还是不行.
麻烦各位大神解答,给个思路也行