vue-element-admin ## 最新版的项目安装依赖时,报错error!

63lcw9qa  于 2022-10-27  发布在  其他
关注(0)|答案(3)|浏览(356)

最新版的项目安装依赖时,报错error!

使用 yarn install 报错信息如图!

求解答!
warning element-ui > async-validator > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning jsonlint > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
warning tui-editor > tui-chart > babel-polyfill > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
error Command failed.
Exit code: 128
Command: git
Arguments: fetch --tags

nbnkbykc

nbnkbykc1#

条件

1、sudo情况下npm install;
2、外网环境

issue:

npm ERR! Command failed: /usr/local/bin/git clone --depth=1 -q -b fix/ie-cannot-input-korean git://github.com/sohee-lee7/Squire.git /Users/legendary_jesse/.npm/_cacache/tmp/git-clone-fbbbf744
npm ERR! /Users/legendary_jesse/.npm/_cacache/tmp/git-clone-fbbbf744/.git: Permission denied

at0kjp5o

at0kjp5o3#

npm cache clean --force

相关问题