shakacode / re-formality

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

Could not resolve re-formality/ppx #90

Closed kivi closed 3 years ago

kivi commented 3 years ago

I am on Windows 10 and I am trying to update old re-formality to the latest one.

  "name": "re-formality",
  "version": "4.0.0-beta.7",

When I do: bsb -make-world I get:

Could not resolve  re-formality/ppx in C:\Users\myuser\projectname
Fatal error: exception Failure("re-formality/ppx not found when resolving ppx-flags")
alex35mil commented 3 years ago

Hi, it would require this change to be applied to this repo. Will do this within next couple of days.

ashutheone commented 3 years ago

Hi @alexfedoseev We faced a similar problem with 4.0.0-beta.9 version when we were trying to build in a node alpine Docker container image. We update the alpine linux version for our container and then we added the latest version of compatible GNU C library version. We ended up making following changes in our Dockerfile which solved this problem for us.

FROM node:12-alpine RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk RUN apk add glibc-2.30-r0.apk

@kivi You can try to do the same for your dev environment. Hope it helps you.

alex35mil commented 3 years ago

I hope it was fixed for windows users in the latest release I did yesterday. (@kivi Please, let me know) But apparently it broke something on Linux. Not sure why though. @ashutheone can you open another issue? I can't promise I will solve it immediately but at least it will be on my radar.

kivi commented 3 years ago

works now on windows. Version: ^4.0.0-beta.9