Failed to resolve the specified restrictions for this project: Error: Conflict: blaze@1.0.0 vs 2.0.0

I tried updating the meteor app from 0.8something to 0.9.1.1 and now

Failed to resolve the specified restrictions for this project: Error: Conflict: blaze@1.0.0 vs 2.0.0

I am not sure how to proceed. I try to run meteor list and meteor remove , but no matter which meteor command I run, I get this error.

The steps I took were

  • run meteor update

Updated to Meteor 0.9.1.1.

  1. run 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. 
  1. removed these packages from smart.json and ran mrt install. no mistakes
  2. reran mrt migrate-app. There are no errors this time.

But now I can do nothing, because I always get an 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: blaze@1.0.0 vs 2.0.0 

Help fix the problem. Thanks.

+8
meteor
source share
1 answer

as I understand it here , maybe you should try:

remove all packages, upgrade, add them back, without a version suffix ... itโ€™s pretty easy to make 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 
+3
source share

All Articles