Closed kenjoe closed 8 years ago
Your app is declaring two different versions of the accounts-password
package in the /.meteor/packages
file (that's why it says "top-level"). Just remove one and you should be good.
Specifically, remove the one that declares accounts-password@=1.1.3
so that your version is compatible with Restivus.
Thanks @kahmali for the reply. I only saw one accounts-password
package on the list under /.meteor/packages
file.
I removed the accounts-password by doing:
meteor remove accounts-password
Then tried to install again the restivus but no luck. Error always occur.
What version of accounts-password
was declared in that file? This issue isn't specific to Restivus, but rather a package dependency issue in your app. You'll have better luck checking/posting on Stack Overflow and the Meteor forums. The error message is telling you that you have two versions of accounts-password
declared at the top level (i.e. your app – anything lower would tell you the specific package that declares the dependency, as in the first error message you were getting). I'll keep this open for a while just in case someone else wants to chime in (or I think of anything else). Please let me know once you get it resolved so I can close it. If you don't mind, can you post the contents of your packages file here? Just want to see if anything else jumps out to me.
There is no specific version declared of accounts-password
package under /.meteor/packages
file, but in /.meteor/versions
file it is accounts-password@1.1.3
.
Btw here is my packages file contents:
less
accounts-password
useraccounts:bootstrap
alanning:roles
zimme:iron-router-active
cmather:handlebars-server@0.2.0
dburles:collection-helpers
reywood:publish-composite
momentjs:moment
mrt:underscore-string-latest
matb33:collection-hooks
dburles:factory
anti:fake
cunneen:mailgun
iron:router@1.0.0
yasinuslu:blaze-meta
aldeed:collection2
aldeed:autoform
mizzao:jquery-ui
service-configuration
accounts-facebook
meteor-base
mobile-experience
mongo
blaze-html-templates
session
jquery
tracker
logging
reload
random
ejson
spacebars
check
useraccounts:iron-routing
rgoomar:bootstrap-validator
sacha:spin
benjaminrh:jquery-blockui
chrismbeckett:toastr
rajit:bootstrap3-datepicker
ajduke:bootstrap-tagsinput@=0.5.0
reywood:iron-router-ga
clinical:csv
edgee:slingshot
peerlibrary:aws-sdk
jt6562:bootstrap-3-switch
dburles:google-maps
cfs:standard-packages
cfs:filesystem
And you got the same error when you tried to install Restivus without accounts-password
installed? When you removed accounts-password
, did you still see it declared in your .versions
file? There must be another package that's specifying a dependency on 1.1.3. I'm just not sure why the error is saying the declarations are both at the top level. Sorry, just never bumped into this issue before. Wish I could be more help. Definitely check Stack Overflow and the Meteor forums.
Yes. I got the same error when I tried to install Restivus without accounts-password
installed. And when I removed accounts-password
it removed also on the .versions
file.
I'll inform you when I resolved this.
@kahmali thanks for your time.
Any luck resolving this @kenjoe?
@kahmali when I upgrade my meteor to latest version, it resolves the issue. I successfully installed the latest version of nimble:restivus
. It seems you are right.. :) The issue is in my package dependency of older meteor version.
Thanks for the update! Sorry for all the headache you experienced. I wish I could have been more help. Glad you got it figured out though. I'm going to go ahead and close this. Thanks again for reporting the issue!
Hi
I could fix the issue using following solution.
Add at least one login service required.
$ meteor add accounts-password
and add restivus package
$ meteor add nimble:restivus
When I install restivus by doing:
meteor add nimble:restivus@0.8.10
error always occur.The error say's:
I try to upgrade the
accounts-password
package to 1.1.4 there is an error also.I want to install the latest version of
nimble:restivus
package, can someone help me please?