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的时候能查询到版本,也考虑过卸载,但是卸载了也不行.
论坛里的其他解答的方法我也试过了,还是不行.
麻烦各位大神解答,给个思路也行

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!