错误
- 使用 yarn install 安装环境的时候报如下错
warning axios@0.18.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
warning element-ui > async-validator > babel-runtime > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning jsonlint > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
warning tui-editor > highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git
Directory: D:\项目\2024\bz_front
Output:
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Unknown error
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
image.png
解决
搞了好大一圈,又是换镜像源又是百度的,最后把本地VPN关掉就行了。梯子还成问题了。
网友评论