Looking for solutions for the constraints that hold me back to update to Meteor 3.0.2

I’ve updated all packages that can be updated but now I’m stuck with the following list of constraints when I tried to upgrade to Meteor 3.0.2:

meteor update

=> Errors while initializing project:

While selecting package versions:

error: Conflict: Constraint blaze@2.8.0 is not satisfied by blaze 3.0.0.

Constraints on package "blaze":

* blaze@2.8.0 <- blaze-html-templates 2.0.1

* blaze@3.0.0 <- spacebars 2.0.0 <- harry97:ssr 2.2.2

* blaze@3.0.0 <- templating-runtime 2.0.0 <- templating 1.4.4 <- blaze-html-templates 2.0.1

* blaze@2.7.1 || 2.8.0 || 2.9.0 || 3.0.0-alpha300.0 <- ostrio:flow-router-extra 3.11.0-rc300.1

* blaze@3.0.0 <- accounts-base 3.0.1 <- accounts-password 3.0.1

* blaze@3.0.0-alpha300.17 <- harry97:ssr 2.2.2

* blaze@2.5.0||3.0.0-alpha300.17 <- useraccounts:core 1.17.1

Conflict: Constraint webapp@1.3.10 is not satisfied by webapp 2.0.1.

Constraints on package "webapp":

* webapp@2.0.1 <- top level

* webapp@~2.0.1 <- top level

* webapp@2.0.0 <- meteor-base 1.5.2

* webapp@2.0.0 <- routepolicy 1.1.2 <- ddp-server 3.0.1 <- ddp 1.4.2 <- accounts-base 3.0.1 <- accounts-password 3.0.1

* webapp@2.0.0 <- routepolicy 1.1.2 <- ddp-server 3.0.1 <- ddp 1.4.2 <- accounts-password 3.0.1

* webapp@2.0.0 <- routepolicy 1.1.2 <- meteorhacks:inject-initial 1.0.3 <- utilities:avatar 0.9.2

* webapp@2.0.0 <- routepolicy 1.1.2 <- webapp 2.0.1

* webapp@2.0.1 <- ddp-server 3.0.1 <- ddp 1.4.2 <- accounts-base 3.0.1 <- accounts-password 3.0.1

* webapp@2.0.1 <- ddp-server 3.0.1 <- ddp 1.4.2 <- accounts-password 3.0.1

* webapp@2.0.0 <- autoupdate 2.0.0 <- hot-code-push 1.0.5 <- meteor-base 1.5.2

* webapp@2.0.1 <- mongo 2.0.1

* webapp@1.3.10 <- nitrolabs:cdn 1.3.0

* webapp@2.0.0 <- browser-policy-content 2.0.0 <- browser-policy 1.1.3

* webapp@2.0.0 <- browser-policy-common 1.0.13 <- browser-policy 1.1.3

* webapp@2.0.0-rc300.8 <- montiapm:agent 3.0.0-beta.5

Conflict: Constraint typescript@3.7.0 || 4.1.2 || 4.3.2 || 4.9.5-beta300.0 is not satisfied by typescript 5.4.3.

Constraints on package "typescript":

* typescript@~5.4.3 <- top level

* typescript@5.4.3 <- logging 1.3.5 <- email 3.0.100

* typescript@4.9.5 || 5.4.3-rc300.0 <- ostrio:flow-router-extra 3.11.0-rc300.1

* typescript@3.7.0 || 4.1.2 || 4.3.2 || 4.9.5-beta300.0 <- itgenio:persistent-session 0.4.12

Conflict: Constraint jquery@3.0.0 is not satisfied by jquery 1.11.11.

Constraints on package "jquery":

* jquery@1.11.10 <- top level

* jquery@1.11.9 || 3.0.0 <- blaze 3.0.0 <- accounts-base 3.0.1 <- accounts-password 3.0.1

* jquery@1.11.9 || 3.0.0 <- blaze 3.0.0 <- blaze-html-templates 2.0.1

* jquery@1.11.3 <- peppelg:bootstrap-3-modal 1.0.4

* jquery@1.0.0 <- lookback:tooltips 0.3.1

* jquery@1.0.0 <- jeremy:selectize 0.12.1_5

* jquery@1.0.1 <- chrismbeckett:toastr 2.1.2_1

* jquery@3.0.0 <- useraccounts:core 1.17.1

Would appreciate any help to point me in the right direction as to how I can overcome these constraints. Thank you in advance!

Alright, let’s brake this down.
Strangely blaze-html-templates is not at the latest version. Try to force it to 3.0.0, but this might be result of another dependency.
ostrio:flow-router-extra needs to release a final version with updated dependency list, but I don’t think that is a problem here. Same with harry97:ssr and useraccounts:core
nitrolabs:cdn is out of date and probably won’t be updated. It was continued by zodern:cdn, but I think that one is not ready for v3 either, mine storyteller:cdn is and I have just published a version that should give no trouble for v3. Please migrate.
itgenio:persistent-session is the hold-up for typescript. Please ask them to include to add TS v5 to the options.
jquery is being held back by peppelg:bootstrap-3-modal, lookback:tooltips, jeremy:selectize, chrismbeckett:toastr. Probably best to fork these locally and fix. @jkuester might have more insight on these things.


If you like my work, please sponsor me or you can schedule a consultation with me.

1 Like

I use peppelg:bootstrap-3-modal@1.0.4 in my app in v3 and this is working fine.

In my packages file I have this : jquery@3.0.0! (with exclamation mark)
In my pacakges file I have this : blaze-html-templates@3.0.0-rc300.2 (forced)

I use ostrio:flow-router-extra@3.11.0-rc300.1 in my app v3 and this is working well

(Also using blaze)

montiapm:agent is NOT working in my app in v3, so I had to remove it to make the migration

I was using chrismbeckett:toastr a few years but I have replaced with toastify-js (no meteor package)

Followed advises listed here and I’m a bit closer, though not there yet.

I’m currently using:

blaze-html-templates@3.0.0-rc300.2

and

jquery@3.0.0!

as you suggested but I still get the following restriction when I run Meteor update:

meteor update
=> Errors while initializing project:

While selecting package versions:
error: Conflict: Constraint typescript@3.7.0 || 4.1.2 || 4.3.2 || 4.9.5-beta300.0 is not satisfied by typescript 5.4.3.
Constraints on package “typescript”:

  • typescript@~5.4.3 ← top level
  • typescript@5.4.3 ← logging 1.3.5 ← email 3.0.100
  • typescript@4.9.5 || 5.4.3-rc300.0 ← ostrio:flow-router-extra 3.11.0-rc300.1
  • typescript@3.7.0 || 4.1.2 || 4.3.2 || 4.9.5-beta300.0 ← itgenio:persistent-session 0.4.12

The latest versions seems to present a constraint here, right?

Done, see Update package.json - it's otherwise a constraint for upgrading to Meteor 3.x by a4xrbj1 · Pull Request #2 · itgenio/meteor-persistent-session · GitHub

It’s also held back by email 3.0.100 and ostrio:flow-router-extra 3.11.0-rc300.1.

Any further recommendations?

For the persistent-session, you don’t really care about package.json, you care here more about what is in package.js:

1 Like

Thanks Jan for that 2nd CR. However, it seems that no one is maintaining this package anymore or am I wrong?

0 members means 0 public members. You will have to reach out to the company or some of the people who have maintained that package in the past.

They actually merged a PR for me @afrokick

1 Like