****I want to update an old app that works in METEOR@1.1.0.3
trying to get it to METEOR@1.2
meteor update --release 1.2 Update to release METEOR@1.2 is impossible:
While selecting package versions:
error: Conflict: Constraint less@1.0.14 is not satisfied by less 2.5.0_1.
Constraints on package “less”:
Much appreciated,
The Less errors seem to block the update.
I am no expert on Less …added by other packages.
Is there anything else that might allow an update?
Thankyou !
meteor update --release 1.2 --allow-incompatible-update Update to release METEOR@1.2 is impossible:
While selecting package versions:
error: Conflict: Constraint less@1.0.14 is not satisfied by less 2.5.0_1.
Constraints on package "less":
* less@=2.5.0_1 <- top level
* less@2.5.0_1 <- accounts-ui 1.1.6
* less@2.5.0_1 <- accounts-ui-unstyled 1.1.8 <- accounts-ui 1.1.6
* less@1.0.14 <- matb33:bootstrap-tooltip 3.3.4
* less@1.0.14 <- matb33:bootstrap-base 3.3.4 <- matb33:bootstrap-tooltip 3.3.4
* less@1.0.11 <- yogiben:autoform-modals 0.3.6
Yes, with the caveat that things may not work completely as expected due to not respecting the semver contract . That being said, I’d make sure you’ve commited and branched so that you can easily get back to the working state and then edit .meteor/packges and add/modify the line for less to be less@2.5.0_1!
Unfortunately you’re options are limited to either trying to get the author to update the packages, fork them and submit pull requests and hope they accept them, or just clone them into your packages dir and edit the source so that the constraint resolver is satisfied. There of course may be other updates necessary depending on what changed from 1.0.14 to 2.5.0_1
Yes, once you’ve cloned the offending packages into your project’s packages directory, you can then edit their package.js file to contain this line. The specification of both versions serves very little purpose in this case though since you won’t likely be releasing it for use by others where this might be useful. Therefore you can safely just specify a single version.