8

My package.json contains:

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

on install the warning is:

bootstrap@4.1.0 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?

Community
  • 1
  • 1
Cos Callis
  • 5,051
  • 3
  • 30
  • 57

1 Answers1

24

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.

Klooven
  • 3,858
  • 1
  • 23
  • 41
  • 1
    Yeah, this confused me by a lot too. Most solutions don't mention this important aspect – Peon Oct 28 '19 at 11:22