Apparently drupal/bootstrap 3.37 could not resolve the conflict.

  • drupal/bootstrap requires entreprise7pro/bootstrap
  • drupal/bootstrap_library requires twbs/bootstrap
  • entreprise7pro/bootstrap and twbs/bootstrap cannot coexist.

Problem 1 (# composer require twbs/bootstrap:^3.4 -W):

    - drupal/bootstrap is locked to version 3.37.0 and an update of this package was not requested.
    - drupal/bootstrap_library is locked to version 2.0.2 and an update of this package was not requested.
    - drupal/bootstrap 3.37.0 requires entreprise7pro/bootstrap v3.4.8 -> satisfiable by entreprise7pro/bootstrap[v3.4.8].
    - drupal/bootstrap_library 2.0.2 requires twbs/bootstrap * -> satisfiable by twbs/bootstrap[v3.4.0, v3.4.1].
    - Only one of these can be installed: entreprise7pro/bootstrap[v3.4.8], twbs/bootstrap[v3.4.0, v3.4.1]. They all replace twitter/bootstrap and thus cannot coexist.

Comments

eryk created an issue. See original summary.

eryk’s picture

Issue summary: View changes
joseph.olstad’s picture

Assigned: Unassigned » joseph.olstad
joseph.olstad’s picture

***EDIT***
Ok I see the issue, continued below.
***End EDIT***

composer why drupal/bootstrap_library

?

bootstrap_library , why are you using this?

I suggest you uninstall the bootstrap_library module. It is not needed.

We can add a conflict with bootstrap_library.

joseph.olstad’s picture

Component: Miscellaneous » Code
Category: Bug report » Task
Priority: Critical » Normal

  • joseph.olstad committed febf6d4b on 8.x-3.x
    Issue #3539462 by eryk, joseph.olstad: Conflict with bootstrap_library...

  • joseph.olstad committed eb8c2d2a on 8.x-3.x
    Issue #3539462 by eryk, joseph.olstad: Conflict with bootstrap_library...
joseph.olstad’s picture

Ok, I published version 3.38

should be ok.

This conflict can be avoided simply by the change of removing entreprise7pro/bootstrap from the composer.json of bootstrap 3.38 which I have done.

There's no real need for this due to the way that the theme code works.

https://www.drupal.org/project/bootstrap/releases/8.x-3.38

joseph.olstad’s picture

Assigned: joseph.olstad » Unassigned
Status: Active » Fixed

Please try release 3.38

if there's still an issue let me know asap.

eryk’s picture

It works, thank you!

joseph.olstad’s picture

Thanks for the quick feedback!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dinarcon’s picture

Is the entreprise7pro/bootstrap library no longer necessary? In commit dc3cce6ff850eb92c68c5f36e8baaadfe1cb1376 the dependency version was updated to v3.4.8, and in commit eb8c2d2a0e010a17140b8b6c2b19d6d4ca77ce23 the dependency was removed from composer.json altogether.

Updating bootstrap from 3.37.0 to 3.38.0 would remove the entreprise7pro/bootstrap library unless you make it an explicit dependency of your project.

Thought about opening a new issue, but I wanted to confirm if the change is intentional before doing so.

joseph.olstad’s picture

The entreprise7pro/bootstrap library comes from a cdn automatically configured in bootstrap 3.35 through to the current 3.38

bringing it in with composer was an oversight and unnecessary.

dinarcon’s picture

Thanks for confirming.