简体   繁体   English

无法安装 npm 流体播放器

[英]Cannot install npm Fluid Player

I am trying to install Fluid Player in my angular project我正在尝试在我的 angular 项目中安装 Fluid Player

By - npm i fluid-player By - npm i fluid-player

But Getting this error但是得到这个错误

Like the error message says you should try installing npm i fluid-player --legacy-peer-deps or npm i fluid-player --force就像错误消息说你应该尝试安装npm i fluid-player --legacy-peer-depsnpm i fluid-player --force

  • --legacy-peer-deps: ignore all peerDependencies when installing, in the style of npm version 4 through version 6. --legacy-peer-deps:安装时忽略所有peerDependencies,采用npm版本4到版本6的样式。

  • --force: will force npm to fetch remote resources even if a local copy exists on disk. --force:即使磁盘上存在本地副本,也会强制 npm 获取远程资源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM