Unable to Upgrade to Meteor 2.3

Hi - Having difficulty upgrading to Meteor 2.3 from 2.2.4 - please advise:
I get errors:
Conflict: Constraint accounts-base@1.1.2 is not satisfied by accounts-base
2.0.1.
Constraints on package “accounts-base”:

  • unable to upgrade - have tried adding api.use(‘accounts-base@1.1.2 || 2.0.0’) but now get error:
    package.js:56:7: Package names can only contain lowercase ASCII
    alphanumerics, dash, dot, or colon, not “|”.
    package.js:58:7: Package names can only contain lowercase ASCII
    alphanumerics, dash, dot, or colon, not “|”.

Let me know if you have any suggestions for upgrading to 2.3+
Thanks
Frank

1 Like

Hey @spraakit, there are a few topics about this. Like this one which you can have a look at the answers to help solving your issue.

Basically, you need to follow the migration steps and update your accounts-base packages as there was a major bump on Meteor 2.3. A common issue is to have packages in your project that are still using accounts-base prior to version 2. So if updating all of your dependencies doesn’t solve the issue you need to find out which dependency is causing the issue and follow this topic.

1 Like

thanks @fredmalaarantes - read through the notes more carefully and am still having dependency issues:
While selecting package versions:
error: Conflict: Constraint accounts-base@1.1.3 is not satisfied by
accounts-base 2.0.1.
Constraints on package “accounts-base”:
*** accounts-base@2.0.0 ← top level**
*** accounts-base@~2.0.0 ← top level**
*** accounts-base@2.0.0 ← service-configuration 1.1.0**
*** accounts-base@1.1.3 ← useraccounts:core 1.14.2 ← useraccounts:bootstrap**
1.14.2
*** accounts-base@1.9.0 || 2.0.0 ← alanning:roles 1.3.0**
*** accounts-base@1.2.8 ← matb33:collection-hooks 0.8.4**
*** accounts-base@2.0.0 ← accounts-password 2.0.1 ← accounts-ui-unstyled 1.5.0**
← accounts-ui 1.4.0 ← frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-password 2.0.1 <-**
frankw:allerion-meteor-pretty-email-v2 0.1.1 ←
*** accounts-base@2.0.0 ← accounts-password 2.0.1 <-**
*** accounts-base@2.0.0 ← accounts-ui 1.4.0 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-ui-unstyled 1.5.0 ← accounts-ui 1.4.0 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@1.2.1 || 2.0.0 ← stripe-connect 0.0.1 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-oauth 1.3.0 ← accounts-ui-unstyled 1.5.0 <-**
accounts-ui 1.4.0 ← frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-oauth 1.3.0 ← stripe-connect 0.0.1 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@1.1.0||2.0.1 ← frankw:accounts-pwless6 0.2.3_1**
*** accounts-base@1.4.2 ← mizzao:user-status 1.0.0**
*** accounts-base@1.1.2||2.0.1 ← frankw:allerion-meteor-pretty-email-v2 0.1.1 <-**
Conflict: Constraint accounts-base@1.2.8 is not satisfied by accounts-base
2.0.1.
Constraints on package “accounts-base”:
*** accounts-base@2.0.0 ← top level**
*** accounts-base@~2.0.0 ← top level**
*** accounts-base@2.0.0 ← service-configuration 1.1.0**
*** accounts-base@1.1.3 ← useraccounts:core 1.14.2 ← useraccounts:bootstrap**
1.14.2
*** accounts-base@1.9.0 || 2.0.0 ← alanning:roles 1.3.0**
*** accounts-base@1.2.8 ← matb33:collection-hooks 0.8.4**
*** accounts-base@2.0.0 ← accounts-password 2.0.1 ← accounts-ui-unstyled 1.5.0**
← accounts-ui 1.4.0 ← frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-password 2.0.1 <-**
frankw:allerion-meteor-pretty-email-v2 0.1.1 ←
*** accounts-base@2.0.0 ← accounts-password 2.0.1 <-**
*** accounts-base@2.0.0 ← accounts-ui 1.4.0 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-ui-unstyled 1.5.0 ← accounts-ui 1.4.0 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@1.2.1 || 2.0.0 ← stripe-connect 0.0.1 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-oauth 1.3.0 ← accounts-ui-unstyled 1.5.0 <-**
accounts-ui 1.4.0 ← frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-oauth 1.3.0 ← stripe-connect 0.0.1 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@1.1.0||2.0.1 ← frankw:accounts-pwless6 0.2.3_1**
*** accounts-base@1.4.2 ← mizzao:user-status 1.0.0**
*** accounts-base@1.1.2||2.0.1 ← frankw:allerion-meteor-pretty-email-v2 0.1.1 <-**
Conflict: Constraint accounts-base@1.4.2 is not satisfied by accounts-base
2.0.1.
Constraints on package “accounts-base”:
*** accounts-base@2.0.0 ← top level**
*** accounts-base@~2.0.0 ← top level**
*** accounts-base@2.0.0 ← service-configuration 1.1.0**
*** accounts-base@1.1.3 ← useraccounts:core 1.14.2 ← useraccounts:bootstrap**
1.14.2
*** accounts-base@1.9.0 || 2.0.0 ← alanning:roles 1.3.0**
*** accounts-base@1.2.8 ← matb33:collection-hooks 0.8.4**
*** accounts-base@2.0.0 ← accounts-password 2.0.1 ← accounts-ui-unstyled 1.5.0**
← accounts-ui 1.4.0 ← frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-password 2.0.1 <-**
frankw:allerion-meteor-pretty-email-v2 0.1.1 ←
*** accounts-base@2.0.0 ← accounts-password 2.0.1 <-**
*** accounts-base@2.0.0 ← accounts-ui 1.4.0 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-ui-unstyled 1.5.0 ← accounts-ui 1.4.0 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@1.2.1 || 2.0.0 ← stripe-connect 0.0.1 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-oauth 1.3.0 ← accounts-ui-unstyled 1.5.0 <-**
accounts-ui 1.4.0 ← frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@2.0.0 ← accounts-oauth 1.3.0 ← stripe-connect 0.0.1 <-**
frankw:stripe-connect-account-button1a 0.0.1
*** accounts-base@1.1.0||2.0.1 ← frankw:accounts-pwless6 0.2.3_1**
*** accounts-base@1.4.2 ← mizzao:user-status 1.0.0**
*** accounts-base@1.1.2||2.0.1 ← frankw:allerion-meteor-pretty-email-v2 0.1.1 <-**
1- Upgraded Node
2 -For the packages that I have updated, I have added in as RJDavid metioned
api.use([‘accounts-base@1.2.14||2.0.1’], [‘client’, ‘server’]);
But, how would handle other package on AtmosphereJS like allaning-roles?
Thanks

The roles package is updated to handle both version 1 and 2, as you can see in the versions resolutions. First try updating those packages to the latest versions to see which remaining give you problem.

1 Like

Thanks
I will try that but not very hopeful at this time to resolve all the dependency issues in the next few days - may not be able to upgrade to 2.3+