Sage: required to choose version of popper.js because version required differs from Bootstrap4 version

Created on 18 Aug 2017  路  5Comments  路  Source: roots/sage

Submit a feature request or bug report


What is the current behavior?

While installing bower, I receive the following error requiring resolution:

bower resolution Unsuitable resolution declared for popper.js: e-tag:W/"13b6b-1

Unable to find a suitable version for popper.js, please choose one by typing one of the numbers below:
1) popper.js#* which resolved to e-tag:W/"13ed8-1 and is required by sage
2) popper.js#^1.11.0 which resolved to 1.12.2 and is required by bootstrap#4.0.0-beta

if the wrong version is chosen (!2), scripts throw "Uncaught Error: Bootstrap dropdown require Popper.js"

What is the expected or desired behavior?

I would expect the version of popper to match the version required by bootstrap#4.0.0-beta


Bug report

Please provide steps to reproduce, including full log output:

install bower

Please describe your local environment:

WordPress version: NA

OS: MacOS version 10.12.5

NPM/Node version: 3.10.6/v6.2.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

Most helpful comment

Popper.js is now available through Bower

All 5 comments

caused by popper.js update as i suspected :(

select option 1 for now and it will update your bower.json with the new e-tag

Popper.js is now available through Bower

@FezVrasta thank you! 馃槏

It will not last forever, I plan to get rid of Bower completely in v2 (this release isn't yet planned).

Consider to migrate to a modern dependencies manager system. Even Bower is suggesting people to move to npm/yarn.

@FezVrasta sage 9 (master branch) dropped bower a while ago. this is for supporting the sage 8 branch

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jlariza picture jlariza  路  5Comments

emilsgulbis picture emilsgulbis  路  6Comments

swalkinshaw picture swalkinshaw  路  6Comments

ajoah picture ajoah  路  4Comments

collegeman picture collegeman  路  3Comments