📜  npm legacy-peer-deps - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:43.846000             🧑  作者: Mango

代码示例1
--legacy-peer-deps: ignore all peerDependencies when installing, 
in the style of npm version 4 through version 6.

--strict-peer-deps: fail and abort the install process for any conflicting peerDependencies
when encountered. By default, npm will only crash for peerDependencies conflicts caused by 
the direct dependencies of the root project.

try --force before --legacy-peer-deps