question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Popper is not defined for bootstrap.bundle.js

See original GitHub issue

I was trying the popper.js that comes with bootstrap.bundle.js (v2). The code to turn off gpu acceleration no longer works. Popper.Defaults.modifiers.computeStyle.gpuAcceleration = false;

When I link popper.js separately it works, but when in bootstrap.bundle.js - it throws an error: Uncaught Reference Error: Popper is not defined

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Johann-Scommented, Nov 26, 2017

So I express myself very bad 😟 BTW the latest release is 1.13.0 but you have to choose the UMD version of your release of Popper.js for example :

0reactions
myplaneticketcommented, Nov 26, 2017

v 1.12.5, I believe that’s the latest.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap 4: Uncaught ReferenceError: Popper is not defined
Use bootstrap.bundle.js that already has popper.js NPM path 'bootstrap/dist/js/bootstrap ...
Read more >
Uncaught ReferenceError: Popper is not defined · Issue #24984
I have an error in Browser's console that Popper is not defined "Uncaught ReferenceError: Popper is not defined at bootstrap.min.js:6".
Read more >
TypeError: createPopper is not a function in Bootstrap JS
The "createPopper" is not a function error occurs when we use a Bootstrap component that requires the popper.js script, but don't load it...
Read more >
Introduction - Bootstrap
js and bootstrap.bundle.min.js include Popper, but not jQuery. For more information about what's included in Bootstrap, please see our contents section.
Read more >
Popper is not defined - with Bootstrap 4 and Webpack 3.8.1
score:0. Accepted answer. I finally found out how to get past the error. · score:1. try to include Popper.js before bootstrap not after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found