Comments (18)
I found a working temporary solution, although I hope it gets fixed. My speculation is that since the latest version of electrify is using an older version of MongoDB that it's bundling that older version into the app. My solution is to download the Mongo binaries from https://www.mongodb.com/download-center#community under All Version Binaries
. Make sure you download the latest version. Inside of the archive you download navigate to the bin
folder and copy mongod.exe
or the equivalent OS file to ./resources/app/bin
of your built app. I personally have only tested replacing mongod.exe
but it might be a good idea to replace mongo.exe
as well.
from electrify.
You can use mongod --storageEngine=mmapv1 --dbpath "Your Path". For more details Please go through https://technicalforum.wordpress.com/2016/12/10/mongodb-tutorial-part1/
from electrify.
I have found the solution, Meteor uses mongo 3.2.6. Download binaries for 3.2.6 you will see that they are diffrent sizes and you have to extract mongod.exe and mongo.exe. When i started mongod.exe i got error that libeay32.dll and ssleay32.dll are missing you can find them in installed mongodb directory for me "Program Files/MongoDb/server/bin/" and just copy them to app/bin
from electrify.
yep or download here https://indy.fulgan.com/SSL/
from electrify.
The weird thing is, this only happens when I use "electrify package" and it uses the mongo acquired by electrify. If I only use "electrify", so that it uses the mongodb offered by meteor, then the app works flawlessly.
Any help?
from electrify.
I'm getting the same error.
from electrify.
Are you sure it is 3.2.8? That did not helped me. Do someone has other solution?
from electrify.
I tried above steps
Copying mongo,mongo binaries from 3.0.10 version as my mongo server is 3.0.10
Got the .dll error
Copied the dll files to .electrify/bin
App starting is stuck at starting mongo...
When I tried to run bin/mongo it is giving some error with memory address in it.
from electrify.
I repeated above steps with resources/app/bin folder too.
Same problem stuck at "starting mongo..."
from electrify.
@TrentonPottruff Your solution seems reasonable but for me just like other comments it's stuck at starting mongo...
Do you have any idea?
from electrify.
@arboleya Could you take a look to this issue. I think this is important.
from electrify.
As @TrentonPottruff and @k4rz4 mentioned above, to make things more clear:
As of Meteor 1.4, it's using MongoDB version 3.2.6 (Announcing Meteor 1.4)
So you need exactly these binaries: win32/mongodb-win32-x86_64-2008plus-3.2.6.zip (Official)
Extract files from the zip archive then copy mongod and mongo binaries and paste into ./resources/app/bin
So temporarily solved but @arboleya needs to fix that eventually.
from electrify.
Hi,
Mongodb's WiredTiger engine is only supported on 64bits, that can explain some worries. It seems quite impossible to use electrify to package on recent meteor on 32bits systems for this simple reason.
from electrify.
@mertyildiran, arboleya do not seems alive on this project since a lot of time.
An undirect fork is here to maintain a bit this useful tool. It have problems too, but who now, if we press gently its maintainer, it can become a more useful update.
from electrify.
@xlinbsd Thanks for mention that.
from electrify.
I just did a full success packaging with mongodb 3.2.6 but not the SSL version on Win7 64bits and meteor 1.4.2.3 of a quite complex project with some npm dependencies.
mongodb-win32-x86_64-2008plus-3.2.6.zip
The ssl version cannot work for me, SSL dll not working either.
from electrify.
Use the 3.2.12 version of Mongo
from electrify.
I have created a fork that uses the mmapv1 storage engine on windows to solve this problem.
from electrify.
Related Issues (20)
- Using --icon when packaging HOT 2
- Method was not defined HOT 1
- Dependencies path length too long in Windows HOT 2
- convert from webapp to desktop HOT 3
- Defining methods causes the app to crash HOT 1
- Setting system environment variables before meteor app is started. HOT 2
- Try to package starting example of meteor HOT 4
- How do I build debian package from generated app?
- App size grows with every run of electrify by about 400 MB (MacOS) HOT 1
- my-electrified-app.exe can not start
- No way to pass in --server option? HOT 1
- alternative solution -> meteor-desktop HOT 1
- How-to allow localhost:3000 in package ? HOT 1
- App does not render when packaged - Windows 10 x64 - WinXP x32 HOT 2
- electrify:meteor:index@client: cannot initialize connection. Did you `npm install -g electrify`?
- Error: EPERM: operation not permitted, rename 'C:\Users\username\AppData\Local\Temp\electrify\package' -> 'C:\appname\.electrify\.dist' HOT 1
- show error : core.require HOT 1
- Don't let this die... HOT 2
- Issue starting mongod HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electrify.