meteor / meteor

Meteor, the JavaScript App Platform
https://meteor.com
Other
44.37k stars 5.19k forks source link

Packages & dependencies: Can't update to latest versions even though they are in the repository #2522

Closed FickleLife closed 10 years ago

FickleLife commented 10 years ago

I am trying to add collection2 to my project, I get the below conflict:

iMac:livetime user$ meteor add aldeed:collection2@1.0.0
Figuring out the best package versions to use. This may take a moment.
Could not satisfy all the specified constraints:
Error: conflict: aldeed:simple-schema@1.0.1 vs 1.0.0
iMac:livetime user$ 

a force meteor add aldeed:simple-schema@1.0.1 or 1.0.2 yields:

iMac:livetime userr$ meteor add aldeed:simple-schema@1.0.1
aldeed:simple-schema@1.0.1: no such version

However I can see on meteor show aldeed:simple-schema that a v1.0.1 and 1.0.2 is available?

iMac:livetime user$ meteor show aldeed:simple-schema
....
Version 1.0.0 : A simple schema validation object with reactivity. Used by collection2 and autoform.
Version 1.0.1 : A simple schema validation object with reactivity. Used by collection2 and autoform.
Version 1.0.2 : A simple schema validation object with reactivity. Used by collection2 and autoform.

Below is a list of installed packages for this project

standard-app-packages     1.0.1  Moved to meteor-platform
matb33:collection-hooks   0.7.3  Extends Meteor.Collection with before/after ...
iron:router               0.9.3  Routing specifically designed for Meteor
less                      1.0.7  The dynamic stylesheet language
email                     1.0.2  Send email messages
spiderable                1.0.3  Makes the application crawlable to web spiders
underscore                1.0.0  Collection of small helpers: _.map, _.each, ...
jquery                    1.0.0  Manipulate the DOM using CSS selectors
accounts-base             1.0.1  A user account system
accounts-password         1.0.1  Password support for accounts
mrt:iron-router-progress  0.9.2  Progressbar for iron:router
mrt:font-awesome-4-less   4.4.0  Font Awesome 4.1's LESS sources. Using this ...
simison:bootstrap3-less   0.3.0  Bootstrap 3, with Less files.
sacha:spin                2.0.4  Simple spinner package for Meteor
kasoki:reactive-table     0.3.21  A reactive table designed for Meteor
joshowens:accounts-entry  0.9.0  Make signin and signout their own pages with...
aldeed:simple-schema      1.0.0  A simple schema validation object with react...
aldeed:autoform           1.0.0  Easily create forms with automatic insert an...

Any clues as to why I can't upgrade to the latest version of aldeed:simple-schema which should alleviate collection2's dependency? Aldeed suggested that this was a bug in meteor and to post it here, let me know if it doesn't belong here.

glasser commented 10 years ago

Is it possible that you have a copy of aldeed:simple-schema in your app's packages directory?

If that's not the issue, you haven't given us enough to debug and you should follow the instructions at https://github.com/meteor/meteor/wiki/Contributing-to-Meteor#reporting-a-bug-in-meteor