meteor-easy-search icon indicating copy to clipboard operation
meteor-easy-search copied to clipboard

Top-level dependency conflict when moving to Meteor 1.6.1

Open etyp opened this issue 7 years ago • 5 comments
trafficstars

We've been taking apart our app trying to upgrade to Meteor 1.6.1 and have run into issues specific to Coffeescript 1.x. We've successfully untangled all of the Peerlibrary packages that were still using Coffeescript 1 and are now on Coffeescript 2 as a top-level dependency throughout.

Unfortunately, when i try to add easy:search back to the app, I run into version constraint issues since easy:search depends on peerlibrary:[email protected] + peerlibrary:[email protected] and we're on peerlibrary:[email protected] + peerlibrary:[email protected].

See output below:

While selecting package versions:
error: Potentially incompatible change required to top-level dependency:
peerlibrary:reactive-publish 0.4.0, was 0.6.0.
Constraints on package "peerlibrary:reactive-publish":

Potentially incompatible change required to top-level dependency:
peerlibrary:server-autorun 0.5.2, was 0.7.1.
Constraints on package "peerlibrary:server-autorun":
* peerlibrary:[email protected] <- peerlibrary:reactive-publish 0.4.0
* peerlibrary:[email protected] <- peerlibrary:reactive-mongo 0.1.1 <-
peerlibrary:reactive-publish 0.4.0

I'm pretty certain this is the last thing holding us back from our update to Meteor 1.6.1 - would you be able to do a new release with a bump to peerlibrary:[email protected] and peerlibrary:[email protected]?

etyp avatar Mar 20 '18 18:03 etyp

As a temporary workaround, I've just limited us to use easysearch:core and not used the components package (using different ui).

etyp avatar Mar 21 '18 01:03 etyp

I'm quite busy as of now, but feel free to create a PR that bumps the version

matteodem avatar Mar 21 '18 06:03 matteodem

@matteodem I've got the same issue. Happy to help out with a PR. Just need some guidance on how to proceed. Thanks.

maxfi avatar Jun 15 '18 08:06 maxfi

As a temporary workaround, until meteor-blaze-components and meteor-base-component are officially updated you can clone my forks of those dependencies:

cd packages

git clone [email protected]:maxfi/meteor-blaze-components.git
(cd meteor-blaze-components && git checkout ca6d1d4334d915bd855963b9b1dee0022be0f3e5)

git clone [email protected]:maxfi/meteor-base-component.git
(cd meteor-base-component && git checkout e0bf4850b7f3bf1eb989a38e83be76ee5a85ad73)

-- https://github.com/peerlibrary/meteor-blaze-components/issues/152#issuecomment-398028333

maxfi avatar Jun 18 '18 11:06 maxfi

Published a version for CoffeeScript2 as peerlibrary:[email protected]. Sorry that it took so long.

mitar avatar Sep 23 '19 05:09 mitar