Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor-Tool version vs. Meteor project version on Windows #4

Open
sjkummer opened this issue May 14, 2020 · 0 comments
Open

Meteor-Tool version vs. Meteor project version on Windows #4

sjkummer opened this issue May 14, 2020 · 0 comments

Comments

@sjkummer
Copy link

Hi @Mairu

First of all: Thanks for still maintaining this project!

I ran in something tricky related to inconsistent Meteor version usage. There is a workaround which includes manually exchanging paths in meteor.bat but hopefully, this can be avoided by fixing the library.

Problem description:

Using this library on Windows with a Meteor project that is not using the most recent meteor version available can lead to an App-Package which includes newer MongoDB- and Node-executables than expected by the meteor code resulting in an App that instantly crashes on start.

How-to reproduce:

  1. Start with a new Windows environment
  2. Install Meteor, resulting in a local Meteor-Tool-Version of 1.10.x or higher
  3. Checkout an older Meteor project on the machine (e.g. using Meteor 1.8.x)
  4. The old project can successfully run on the machine using meteor
  5. The packaged App (using electrify package 4.0.0) cannot be executed, instead it instantly crashes
  6. The versions of the packaged mongo and node binaries are too new (e.g. mongo 4.2 instead 4.0)

Workarround

  • Navigate to C:\Users\<USERNAME>\AppData\Local\.meteor
  • Edit meteor.bat set the path to the exact Meteor version which is used in your project
  • Re-package the app -> Correct binary versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant