mango-cli
mango-cli copied to clipboard
Simplify installation process
Installation as a first use of a npm can be a huge pain. Especially on not properly setup environments or not following install instructions.
Investigate how to simplify this into one/two step process.
Ideal requirements:
- precompiled native dependencies
- pack system dependencies or easily install them (via non-conflict way)
- one command / file installer
https://github.com/electron-userland/electron-packager https://github.com/npm/npm/issues/4210 https://github.com/prebuild/prebuild https://github.com/prebuild/prebuild-install docker/ish
Ref #187
Examined all these above and also tried hard https://github.com/zeit/pkg and https://github.com/nexe/nexe tools to work.
The closest to working solution was pkg, but sharp dependency tree and dynamic loading is a huge problem. Ending with error messages like libvips-cpp.so.42: cannot open shared object file: No such file or directory
even if its present.