meteor / meteor-feature-requests

A tracker for Meteor issues that are requests for new functionality, not bugs.
Other
89 stars 3 forks source link

Don't download packages metadata during Meteor installation process #433

Open harryadel opened 3 years ago

harryadel commented 3 years ago

Inspired by https://github.com/meteor/meteor-feature-requests/issues/390, which aims to improve the Meteor installation experience, this article mentions a fundamental problem in the Meteor installation process:

Meteor requires 345mb database on your machine Have you ever wondered why installing meteor takes a long time? Well, here is the answer: Meteor downloads 345mb database. You may never need the information stored in the database, but Meteor does not care.

Don’t believe me? Just open ~/.meteor/package-metadata/v2.0.1 folder

Good internet is yet to be a standard in many parts of the world, so fixing this would open up Meteor to a greater community and further lessen the number of obstacles to adopting Meteor.

Generally speaking, the article above touches upon many things which Meteor can improve, but for the sake of brevity, I've kept this issue only for the first problem.

StorytellerCZ commented 3 years ago

I agree that it is not optimal and I'm open to suggestions on how to "fix" this. Right now I have other priorities and I'm eyeing #390 to look into probably around Meteor 2.4 or 2.5 if time permits, but probably will do only some minor CLI improvements and will implement it much later. Hopefully that will give me some insight for this issue.

santiagopuentep commented 3 years ago

Yes, please improve the CLI, especially when installing, updating and deploying. It's horrible not only because it's soooo slow, but because it doesn't give you feedback on what it's doing and the deploying sometimes hangs without letting the user know if it's actually frozen or if it's just moving slowly.

With new tools like Vite and Snowpack growing, Meteor is looking horribly outdated (their installation process is interactive even). I don't think it can survive much longer if it doesn't adapt. And I love Meteor.

filipenevola commented 3 years ago

the deploying sometimes hangs without letting the user know if it's actually frozen or if it's just moving slowly.

what kind of deploy are you talking about @santiagopuentep ? Could you provide a reproduction or at least more details here?

santiagopuentep commented 3 years ago

@filipenevola Deployment to Galaxy. It's simply that the CLI doesn't give good feedback. For example it says "Uploading" but with no progress bar. It usually takes me about 40 minutes to deploy an app of 850 files approx (having to retry a few times). The build process also is not transparent and sometimes I don't know if it's building of if it's just hanging there.

santiagopuentep commented 3 years ago

@filipenevola All this in WIndows of course.