yarn install 报错An unexpected error occurred: "https://registry.yarnpkg.com/@babel/plugin-transfor...

vue cli3项目 yarn install 报错 An unexpected error occurred: "https://registry.yarnpkg.com/@babel/plugin-transform-block--functions/-/plugin-transform-block--functions-7.0.0-beta.47.tgz: Request failed \"404 Not Found\"".

解决方法:

1、 删除yarn.lock文件,再yarn install

2、直接输入yarn install --no-lockfile

你可能感兴趣的:(yarn install 报错An unexpected error occurred: "https://registry.yarnpkg.com/@babel/plugin-transfor...)