I tried to upgrade my meteor app from 0.8something to 0.9.1.1 and now
Could not resolve the specified constraints for this project: Error: conflict: [email protected] vs 2.0.0
I'm not sure how to proceed. I try to run meteor list
and meteor remove
but no matter what meteor command I run I get this error.
The steps I did were
meteor update
updated to Meteor 0.9.1.1.
mrt migrate-app
got some errors
Error: The version 1.2.11 of package roles has not yet been migrated
Error: The version 1.2.0 of package accounts-meld has not yet been
migrated Error: The version 2.4.13 of package kadira has not yet been
migrated Error: The version 0.4.8 of package analytics has not yet
been migrated Error: The version 2.1.0.2 of package momentjs has not
yet been migrated Error: The version 1.0.2 of package subs-manager has
not yet been migrated
If you want to continue, remove the package(s) from smart.json, run
`mrt install`, and try again. After you have successfully migrated,
you can add them back but note: You will NOT receive further
updates!. See https://hackpad.com/Migrating-Apps-UfPrM192vSQ for more
information.
But now I can't do anything as I always get the error
meteor list
Figuring out the best package versions to use. This may take a moment.
Refreshing package metadata. This may take a moment.
Could not resolve the specified constraints for this project:
Error: conflict: [email protected] vs 2.0.0
Please help troubleshoot. Thanks.
as I figured out here, perhaps you should try out:
remove all packages, update, add them all back, without the version suffix... pretty easy to do now that they are all single lines in the .meteor/packages file:
sed -e 's/^[a-zA-Z0-9]/meteor remove &/' .meteor/packages | sed 's/\@[0-9\.]*//g' > packages-rm.sh
sed -e 's/ remove / add /' packages-rm.sh > packages-add.sh
bash packages-rm.sh
meteor list # should be empty
meteor update
bash packages-add.sh
meteor list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With