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

Takes ages to install #11

Closed
gaku-sei opened this issue Jun 8, 2019 · 4 comments
Closed

Takes ages to install #11

gaku-sei opened this issue Jun 8, 2019 · 4 comments

Comments

@gaku-sei
Copy link

gaku-sei commented Jun 8, 2019

On my laptop, with a decent internet connection speed, installation takes up to 25 minutes, and sometimes fails (with npm, it seems it works with yarn).

Most of the installation time is due to bsb-native takings ages to download.

I assume bsb-native is used to build ppx-lense, but it seems it's not a viable solution. Would you consider releasing on npm the compiled binaries instead?

@fakenickels
Copy link
Contributor

bsb-native really takes a long time to build
releasing pre-built binaries looks like a good alternative, do you know any setup of this already working that we could base ourselves on?

also, we actually intended to move to Esy (#9) and use it to release the binaries

@gaku-sei
Copy link
Author

A pretty common approach would be to host the binaries on a server, and just download the needed version on npm install (requires an extra server).

Also, I know Elm used to use binwrap for a while. They changed last month, and the binary is now version controlled (here). Could be a good alternative, since you don't need to host the binaries yourself.

@fakenickels
Copy link
Contributor

Already rewrote with esy, now just missing to set up the pipeline to distribute the binaries.

@fakenickels
Copy link
Contributor

Solved at v4.0.0

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

2 participants