Bootstrap requires non-existing version of popper

Cos Callis picture Cos Callis · Apr 15, 2018 · Viewed 7.1k times · Source

My package.json contains:

 "dependencies": {
    "popper": "^1.0.1",
    "bootstrap": "^4.1.0",

on install the warning is:

[email protected] requires a peer of popper.js@^1.14.0

however the "latest" version of popper.js is 1.0.1

wtf?!? are there two different 'flavors' of popper?

Answer

Klooven picture Klooven · Apr 15, 2018

You checked the wrong package. It is popper.js, not popper.

So, to install run:

npm install popper.js

Here's the package on npm.