How to Downgrade Meteor 1.3 to 1.2.1?

Hi guys, I made a mistake to update my meteor project to 1.3 but some parts of it are getting messy… I’d need to downgrade the meteor installation to 1.2.1. How should I do this?

Tks

meteor update --release METEOR@1.2.1 or something like that

I tried that and got:

meteor update --release 1.2.1
Update to release METEOR@1.2.1 is impossible:
While selecting package versions:
error: Conflict: Constraint meteor@1.1.13 is not satisfied by meteor 1.1.10.
Constraints on package “meteor”:

  • meteor@=1.1.10 <- top level
  • meteor@1.1.7 <- meteor-base 1.0.1
  • meteor@1.1.7 <- underscore 1.0.4 <- autoupdate 1.2.4 <- hot-code-push 1.0.0 <- meteor-base 1.0.1
  • meteor@1.1.7 <- underscore 1.0.4 <- binary-heap 1.0.4 <- mongo 1.1.3
  • meteor@1.1.7 <- underscore 1.0.4 <- meteor-base 1.0.1
  • meteor@1.1.10 <- webapp 1.2.3 <- autoupdate 1.2.4 <- hot-code-push 1.0.0 <- meteor-base 1.0.1
  • meteor@1.1.10 <- webapp 1.2.3 <- meteor-base 1.0.1

Is there another way?

@durhei The best way is just to go back to a previous commit in git. I also had to revert back to 1.2 from 1.3 and the cleanest way of doing that was going to the commit just prior to upgrading to 1.3.

You can also consider creating a new 1.2.1 project, then overwrite some of the .meteor directory based meta data in your 1.3.x project with the 1.2.1 contents. I’ve outlined some steps for this here:

How do you create a new 1.2.1 project?

It creates automatically 1.3 version project with “meteor create …”

meteor create --release 1.2.1

1 Like

Thank you. For this time, I found an old project version 1.2.1 and replaced the html, js and css files…

Any other solution for this issue?

Hello there,

I came back the version from git before the upgrade and it worked well.

For what I saw, it only changed the versions in the files in .meteor folder.

Cheers.