how can i bundle mongodb binary with electronjs. so that user can store data locally and not need to install mongodb server on user local machine. I integrate the mongodb biarywith electron app and it locally work fine but after build i got error during launching electron app.
here is the error Failed to start MongoDB: Error: Command failed: "/opt/MystroCommander/resources/app.asar/backend/MongoDB/bin/mongod" --dbpath "/opt/MystroCommander/resources/app.asar/backend/MongoDB/data" --port 27017
/bin/sh: 1: /opt/MystroCommander/resources/app.asar/backend/MongoDB/bin/mongod: not found
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
I cross check the app.asar file and MongoDB is there having mongod.
please help me out!
Top comments (0)