shakacode / re-formality

Form validation tool for reason-react
https://re-formality.now.sh
MIT License
244 stars 36 forks source link

(WIP - not working yet) Attempt to fix libm linking issue on linux (vercel/netlify etc) #98

Closed JasoonS closed 3 years ago

JasoonS commented 3 years ago

fixes: #97

I'm super new to esy - not sure what I'm doing wrong, but hopefully most of the way there!

I took inspiration from discord and this PR doing something similar for reason-relay.

JasoonS commented 3 years ago

image

I'm really not sure what is wrong with the command. I get this when I run esy release-static

alex35mil commented 3 years ago

Hey, thanks for the effort! I made some progress in #99 but it still fails with odd error. I'll comeback to it some time this week.

JasoonS commented 3 years ago

Good luck!

alex35mil commented 3 years ago

@JasoonS Would you mind trying out 4.0.0-beta.12?

JasoonS commented 3 years ago

Hi, thanks for taking a look at this. I gave it a try and I'm getting this error (seems a bit of a strange error to be getting, but I deleted yarn.lock and hardcoded the version): image

JasoonS commented 3 years ago

(I'm on pop-os (which is basically a flavour of ubuntu) 20.04 if that is relevant) - I didn't try run it in vercel where I got the initial error yet.

alex35mil commented 3 years ago

Yeah, I was able to reproduce it locally in a docker container. It means there is still an issue with the way ppx binary is built. I'm out of ideas but I will ask around on OCaml forums.