命令 npm install 不工作并显示错误

command npm install is not working and showing errors

输入npm install时出现如下错误

终端显示错误

我想建立我的 angular 项目但惨遭失败!!

enter image description here

首先,尝试

npm cache clean --force
npm install -g @angular/cli@latest

然后npm install

如果上述方法无效,请尝试以下解决方案

更新core-js版本到3以上

npm install --save core-js@^3

然后npm install