Upgrading from Meteor 1.7 to Meteor 2.5?

Hi! I’m sorry if the answer is obvious / if I missed it somewhere on Install | Meteor API Docs… I have a project currently on Meteor 1.7.0.3:

$ meteor --version
Meteor 1.7.0.3                  

I ran npm install -g meteor and it looked OK:


changed 46 packages, and audited 47 packages in 3s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

… and I ran: meteor update --release 2.5

but the message I’m seeing from that command is:

Unable to update package catalog (are you offline?)
                                              
If you are using Meteor behind a proxy, set HTTP_PROXY and HTTPS_PROXY environment variables or see this page
for more details:  https://github.com/meteor/meteor/wiki/Using-Meteor-behind-a-proxy
                                              
Meteor 2.5: unknown release.  

Is there a known way to upgrade from 1.7.0.3 to 2.5?

I’m hoping to take advantage of the update to the accounts-github package from this PR, and learned that it’ll only work if I have the latest version of Meteor (unless I copy over the package)

Thanks in advance!

Upgrade one major version at a time following the changelog e.g. 1.7 to 1.8, then 1.9, etc. Use the changelog as your guide for things to watch out or for any error you encountered

2 Likes

About this error specifically I have responded here Is accounts-github still working? (Upgrading GitHub OAuth on Meteor app) - #7 by filipenevola

And as @rjdavid said it is better to follow the changelog in the upgrade process Meteor Changelog | Meteor API Docs

Following the changelog makes sense… thanks again @rjdavid and @filipenevola!

1 Like