Meteor tool and previous version cleanup

You save a lot of space by reinstalling Meteor:

curl https://install.meteor.com/ | sh

Watch this and it will surprise you for sure.

http://recordit.co/ZmvFWTCvDG

My free space increased from 3.2GB to 25GB.

did you delete and reinstall or literally run the curl thing?

You can just nuke the ~/.meteor folder. Next time you run meteor command, it will download everything it needs to work properly.

I have been recommending a 2 step process to Meteor upgrades, which for me has completely solved this problem.

  1. Install the new meteor build separately from any projects you have. On windows machines, this means the install will load the meteor application bundle into C:\Users\<username>\AppData\Local\.meteor\packages\meteor-tool. How do you do it?
cd <non-meteor project directory>
meteor --version --release <new release #>
  1. upgrade any specific projects.

I have been following this procedure for the last year and it has really cleaned up my install process. I believe that if you do not do it that way then the project upgrade interleaves with the new app bundle install which can leave things in weird states.

2 Likes

I simply ran the curl command

Are you able to set up the Meteor 2.3 version? I have a 2.2 version in my project and I want to update it with 2.3 So I followed these steps and then there were multiple errors in the packages.

=> Errors while initializing project:         

While selecting package versions:
error: No version of ejson satisfies all constraints: @1.1.3, @=1.1.1, @~1.1.3
Constraints on package "ejson":
* ejson@1.1.3 <- top level
* ejson@=1.1.1 <- top level
* ejson@~1.1.3 <- top level
* ejson@1.1.3 <- minimongo 1.9.3 <- allow-deny 1.1.1 <- mongo 1.16.8
* ejson@1.1.3 <- minimongo 1.9.3 <- mongo 1.16.8
* ejson@1.1.3 <- diff-sequence 1.1.2 <- ddp-client 2.6.1 <- ddp 1.4.1 <-
accounts-base 2.2.9 <- accounts-google 1.4.0
* ejson@1.1.3 <- diff-sequence 1.1.2 <- ddp-client 2.6.1 <- ddp 1.4.1 <-
accounts-password 2.4.0
* ejson@1.1.3 <- diff-sequence 1.1.2 <- minimongo 1.9.3 <- mongo 1.16.8
* ejson@1.1.3 <- diff-sequence 1.1.2 <- mongo 1.16.8
* ejson@1.1.1 <- id-map 1.1.1 <- binary-heap 1.0.11 <- mongo 1.16.8
* ejson@1.1.1 <- mongo-id 1.0.8 <- ddp-client 2.6.1 <- ddp 1.4.1 <- accounts-base
2.2.9 <- accounts-google 1.4.0
* ejson@1.1.1 <- mongo-id 1.0.8 <- ddp-client 2.6.1 <- ddp 1.4.1 <-
accounts-password 2.4.0
* ejson@1.1.1 <- mongo-id 1.0.8 <- minimongo 1.9.3 <- mongo 1.16.8
* ejson@1.1.1 <- mongo-id 1.0.8 <- mongo 1.16.8
* ejson@1.1.2 <- mongo-decimal 0.1.3 <- minimongo 1.9.3 <- allow-deny 1.1.1 <- mongo
1.16.8
* ejson@1.1.2 <- mongo-decimal 0.1.3 <- minimongo 1.9.3 <- mongo 1.16.8
* ejson@1.1.2 <- mongo-decimal 0.1.3 <- mongo 1.16.8
* ejson@1.1.3 <- check 1.3.2
* ejson@1.1.3 <- logging 1.3.3
* ejson@1.1.3 <- session 1.2.1
* ejson@1.1.3 <- reactive-dict 1.3.1
* ejson@1.1.3 <- ddp-client 2.6.1 <- ddp 1.4.1 <- accounts-base 2.2.9 <-
accounts-google 1.4.0
* ejson@1.1.3 <- ddp-client 2.6.1 <- ddp 1.4.1 <- accounts-password 2.4.0
* ejson@1.1.0 <- ddp-common 1.4.0 <- ddp-client 2.6.1 <- ddp 1.4.1 <- accounts-base
2.2.9 <- accounts-google 1.4.0
* ejson@1.1.0 <- ddp-common 1.4.0 <- ddp-client 2.6.1 <- ddp 1.4.1 <-
accounts-password 2.4.0
* ejson@1.1.3 <- ddp-server 2.7.0 <- ddp 1.4.1 <- accounts-base 2.2.9 <-
accounts-google 1.4.0
* ejson@1.1.3 <- ddp-server 2.7.0 <- ddp 1.4.1 <- accounts-password 2.4.0
* ejson@1.1.3 <- mongo 1.16.8
* ejson@1.1.1 <- allow-deny 1.1.1 <- mongo 1.16.8
* ejson@1.0.0 <- meteorhacks:subs-manager 1.4.0
* ejson@1.1.3 <- accounts-base 2.2.9 <- accounts-google 1.4.0
* ejson@1.0.2 <- iron:router 1.1.2 <- ostrio:files 1.0.0
* ejson@1.0.2 <- iron:core 1.0.8 <- iron:controller 1.0.0-pre4 <- iron:router 1.1.2
<- ostrio:files 1.0.0
* ejson@1.0.2 <- iron:core 1.0.8 <- iron:router 1.1.2 <- ostrio:files 1.0.0
* ejson@1.1.3 <- accounts-password 2.4.0
* ejson@1.0.1 <- cultofcoders:persistent-session 0.4.5
* ejson@1.0.6 <- semantic:ui 1.12.0

Can anyone help me with this?