You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Start with a new Windows environment
Install Meteor, resulting in a local Meteor-Tool-Version of 1.10.x or higher
Checkout an older Meteor project on the machine (e.g. using Meteor 1.8.x)
The old project can successfully run on the machine using meteor
The packaged App (using electrify package 4.0.0) cannot be executed, instead it instantly crashes
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
The text was updated successfully, but these errors were encountered:
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:
meteor
electrify package
4.0.0) cannot be executed, instead it instantly crashesmongo
and node binaries are too new (e.g. mongo 4.2 instead 4.0)Workarround
C:\Users\<USERNAME>\AppData\Local\.meteor
meteor.bat
set the path to the exact Meteor version which is used in your projectThe text was updated successfully, but these errors were encountered: