我的package.json包含: "dependencies": { "popper": "^1.0.1", "bootstrap": "^4.1.0", 安装警告是: bootstrap@4.1.0 requires a peer of popper.js@^1.14.0 但是“latest” version of popper.js是1.0.1 WTF?!?有两种不同的’
"dependencies": { "popper": "^1.0.1", "bootstrap": "^4.1.0",
安装警告是:
bootstrap@4.1.0 requires a peer of popper.js@^1.14.0
但是“latest” version of popper.js是1.0.1
WTF?!?有两种不同的’风味’波普尔?
您检查了错误的包裹.它是popper.js,而不是popper.所以,要安装run:
npm install popper.js
Here是npm的包裹.