Sage: Sage 8.5.2 bootstrap.js:1414 Uncaught Error: Bootstrap dropdown require Popper.js (https://popper.js.org)

Created on 12 Aug 2017  路  7Comments  路  Source: roots/sage

Submit a feature request or bug report


What is the current behavior?
bower_components/popper.js/index.1 is installed

Throwing JS error:

bootstrap.js:1414 Uncaught Error: Bootstrap dropdown require Popper.js (https://popper.js.org)
at bootstrap.js:1414
at bootstrap.js:1819
at bootstrap.js:3828

What is the expected or desired behavior?

bower_components/popper.js/index.js should be installed in the bower_components directory.


Bug report

Please provide steps to reproduce, including full log output:

npm install
bower install
gulp

Please describe your local environment:

WordPress version: 4.8.1

OS: X

NPM/Node version: 3.10.8 / v6.9.1

Where did the bug happen? Development or remote servers?

Development

Is there a related Discourse thread or were any utilized (please link them)?

X


Feature Request

Please provide use cases for changing the current behavior:

X

Other relevant information:

X

All 7 comments

Could this be related to #1946 ?

sorry, should be good now

Still happening to me as we speak, someone reported a ticket not more than 4 hours ago in popper.js

https://github.com/FezVrasta/popper.js/issues/491

I'm getting the same error mentionned above,
Is there a temporary workaround around this ?

solution

My solution was reverted those lines in the bower.json file, in order to download some version from unpkg.com

@etiennejcharles Did you keep both sets of lines (marked green and blue) or just one of them? This is relevant to my situation I think.

I kept both ;) @aingham Hope it worked for you!

@etiennejcharles Yes - all working thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

collegeman picture collegeman  路  3Comments

Geczy picture Geczy  路  5Comments

retlehs picture retlehs  路  3Comments

swalkinshaw picture swalkinshaw  路  6Comments

buckedup picture buckedup  路  3Comments